Re: Refactoring doesn't?
Re: Refactoring doesn't?
- Subject: Re: Refactoring doesn't?
- From: Chris Espinosa <email@hidden>
- Date: Thu, 19 Mar 2009 23:22:47 -0700
On Mar 19, 2009, at 11:08 PM, Jack Repenning wrote:
I did a refactoring of some Objective-C in Xcode 3.1.2 (renamed a
bunch of popular messages). Many changes were made, but it turns out
many others were missed. Now that I've dug myself out of that hole,
I'm trying to understand why so many uses of the various symbols
were missed.
Is the problem, perhaps, that Refactoring doesn't look into Category
files? Some of the missed changes definitely were in category code.
Or, slight wrinkle on that, do *.m files get left out of refactoring
if they have no matching *.h file? (That is, some of my categories
extend my own classes, so there's one .h for several .m's, and only
one of the .m's has the same basename as the .h).
Both of these would surprise us. We know of cases where refactoring
misses code that's in old-style (K&R) C syntax or hidden in
conditional macros, but in straight-up Objective-C code, if you can
find the symbols in Project Find or they're listed in the Symbols
smartgroup, Refactoing should catch them.
A "before" version of the project with the symbols that were missed
would be most helpful, or just a description of what was where so we
can try to reproduce this in a test case.
Chris
_______________________________________________
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