Re: Accessing function definitions Radar (Re: Accessing function definitions)
Re: Accessing function definitions Radar (Re: Accessing function definitions)
- Subject: Re: Accessing function definitions Radar (Re: Accessing function definitions)
- From: Jeffrey Oleander <email@hidden>
- Date: Fri, 27 Oct 2006 11:16:58 -0700 (PDT)
> Laurence Harris <email@hidden> wrote:
> - The contextual menu Xcode displays when I open a CM for
> a selected function name (or by clicking anywhere is a
source
> file) makes no sense to me. Most of the items in it have
> nothing to do with the current text selection (or *any*
text
> selection). Contextual menus should be *contextual*.
This
> menu is not contextual in the least. It contains the
same
> commands no matter where I click or if any text is
> selected or not, and only one item disables if no text is
> selected (Search in Spotlight). Jump to Definition, for
> example, is always there and always enabled. It just
> doesn't do anything if you choose it without a symbol
> currently selected.
There is more to "current context" than whether and what
text is selected.
What kind of window is the cursor in when you open the CM?
Is it a text editing window? Is it over text, over a scroll
bar, over the title...?
Is the cursor within the scope of a function/method when
you open the CM? (If so, perhaps you're wanting to
find/open the declaration for that method/function since
you're in the middle of its implementaiton, or maybe you
want to jump to the beginning of that implementation. If
the latter, then "doing nothing" may be all that is
required to show the beginning of the function/method.)
Does Xcode "know" that the text you've selected is a
method/function name or signature, or invocation?...
I don't know the answers. I'm just trying to think the way
one of the developers of Xcode might have been thinking.
Perhaps one of them could tell us more, or point us to the
place in the manual where it's elaborated.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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