Re: Spoiled by Java IDEs
Re: Spoiled by Java IDEs
- Subject: Re: Spoiled by Java IDEs
- From: Greg Guerin <email@hidden>
- Date: Sat, 19 Jul 2008 15:15:06 -0700
Graham Perks wrote:
Ken, agreed, of course. In Eclipse this might be implemented as
right-click on the method name, and the resulting popup offering an
"Add to Interface" menu. That would be useful in Xcode too, saving
you the time of switching to the .h and a bunch of keystrokes to
copy/paste. The point is to let you keep coding right where you
are, and not have to stop and scroll to the top of a method or off
to another file.
Some of these things strike me as entirely scriptable.
For example, if the selection contains a message selector and args, a
script called "Add to Interface" would do exactly that. Other things
like expanding ivars to accessors also seem scriptable.
Some IDE's have a built-in feature that either adds or removes //'s
in front of every line of the current selection. Another common
feature is to search docs or the web for the current selection.
Xcode doesn't have builtins for either of these: each one is a script
in the scripts menu (the scroll-like icon next to Help).
Ccontextual menus can connect to scripts using OnMyCommand:
http://free.abracode.com/cmworkshop/on_my_command.html
And for the much-neglected Services menu, see ThisService:
http://wafflesoftware.net/thisservice/
I understand that one might not want to write all these scripts for
oneself, but if someone did it once, it seems like it would be pretty
popular among Xcoders. Eclipse didn't get all its features because
everyone said "I wish the Eclipse team would add Foo". It got them
because someone said "I'm going to add Foo because I want to use it,
and I bet others can, too".
-- GG
_______________________________________________
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