Re: Refactor -> Rename does nothing
Re: Refactor -> Rename does nothing
- Subject: Re: Refactor -> Rename does nothing
- From: Doug Hill <email@hidden>
- Date: Fri, 25 Sep 2015 14:32:15 -0700
Thanks for the response Dave.
I indeed have ‘Continue After Errors’ enabled. And the symbols I’m trying to refactor seem to be found. For example I can Command-click to go to the declaration/implementation. Also when I select Refactor>Rename, it shows the correct method signature for me to edit. The problematic behavior is that no results are found for the rename.
It looks like refactor only works so well when the project doesn’t completely build. Will write up a RADAR and bug and go from there.
Thanks.
Doug Hill
> On Sep 25, 2015, at 12:56 PM, Dave <email@hidden> wrote:
>
> Hi,
>
> In my experience Refactor doesn’t work well if at all if you have errors - do you have continue after errors set in your prefs? If not, I think it doesn’t generate the symbol table properly. It’s a real pain when you are refactoring and have many errors, I tend to fix one set of errors get a clean build and then refactor - or just change the name of the method manually and try and find the errors you are interested in among all the others. Global find/replace works although it’s not as easy as refactoring.
>
> Hope this help
> All the Best
> Dave
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden