hi @assaf-prime and welcome to Cursor Forum
Thank you for bringing that topic up, in the forum there are already threads on refactoring and its sometimes hard to find a duplicate due to many messages being posted.
Could you check if following is related to your issue?