PDA

View Full Version : Xcode question and symbol lookup




gnutz
Feb 15, 2009, 04:13 AM
I'm refreshing my Objective-C skills and tinkering with the iPhone and noticed this in Xcode when I move the mouse over a symbol:

http://att.macrumors.com/attachment.php?attachmentid=157953&stc=1&d=1234692462

Then clicking on the arrow with the mouse produces this menu:

http://att.macrumors.com/attachment.php?attachmentid=157954&stc=1&d=1234692462

This seems to be handy.

Been looking around for a keyboard shortcut to activate this. Does anyone know of one?

Thanks!



kainjow
Feb 15, 2009, 05:44 PM
If you double-click something while holding down the command key it'll try to jump to its definition, but I'm not aware of shortcuts for the other features if that's what you're asking.

kpua
Feb 15, 2009, 07:06 PM
Cmd-Ctrl-T for edit all in scope, I believe.

gnutz
Feb 16, 2009, 04:54 AM
Thanks for the shortcuts to the individual items. I did already find them in the documentation. Both good shortcuts. The Cmd-Ctrl-t to edit all in context especially. The jump-back to definition is also quite handy.

I was more curious about the behavior or the drop-down box/pop-up menu and getting that to activate on a shortcut. Can't seem to find any way.

Picked up this handy list of collected shortcuts here: http://cocoasamurai.blogspot.com/2008/02/complete-xcode-keyboard-shortcut-list.html

Just need a big enough piece of paper to print it off on, like A3, maybe at work.

Also, wish there were a shortcut for switching between split windows... and...

Nevermind, found it... Ctrl-Tab

Yay!