Re: Refactor menu never enabled
Re: Refactor menu never enabled
- Subject: Re: Refactor menu never enabled
- From: Paul Summermatter <email@hidden>
- Date: Mon, 17 Aug 2009 11:01:24 -0400
Caleb,
In my case, I have a method called
- (BOOL)isUpToDate
I want to rename this method. In the .m file, I am double-clicking on
the isUpToDate text so that it is highlighted entirely. I've tried
highlighting lots of other code as a double-check, but nothing seems
to cause the menu to become enabled. I'm not sure if it makes a
difference or not, but I'm on Mac OS X 10.5.8.
Regards,
Paul
On Aug 17, 2009, at 10:49 AM, Caleb Strockbine wrote:
On Aug 17, 2009, at 9:45 AM, Paul Summermatter wrote:
I've found and reviewed the Xcode Refactoring Guide, but I seem to
be missing something obvious. The Refactor menu item under the
Edit menu is never enabled. [...] I'm selecting code in my
project (which I assumed would be the proper starting point). What
am I missing?
What code are you selecting? Each of the refactoring transformations
is sensitive to certain types of selections: if you select an
identifier, the Refactor... item should be enabled, and the
transformation popup menu should have the rename transformation
enabled. If you select a class name, you can rename and also create
a superclass. And so on.
-Caleb
_______________________________________________
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