Re: Context sensitive API Help?
Re: Context sensitive API Help?
- Subject: Re: Context sensitive API Help?
- From: Matthew Morse <email@hidden>
- Date: Sat, 16 Jun 2007 13:35:35 -0700
Chris,
Try out the Research Assistant (Help -> Research Assistant), which
uses the project index to give help on the specific API that's
selected in the code editor. If you need more information about the
API than the Research Assistant gives, click a link the the RA and
the documentation window comes up with the additional reference.
Option double-click does a string-based search in the documentation
window, and you're right it doesn't currently use context information
from the code editor to narrow the search. We have an enhancement
request on that, so it's on our list. We want the documentation
window to work with or without a project (and project index), so it
works with files in the Organizer, etc. but if there is a project
index open, we definitely should make the searches smarter.
Oh, and in any case you can tell the API search feature which
languages you're interested in. So, if you don't want the Java
references, click the Languages tool bar item in the doc window, turn
off Java, and you won't see Java API in the search results.
-- Matt
On Jun 16, 2007, at 1:18 PM, Chris wrote:
Newbie here, so maybe I'm just missing some obvious
setting. Basically I wanted to know if the API help
search can be made to work in a context-sensitive
mode?
For instance, I discovered the Option+double-click (or
highlight, right-click, choose "Search API...");
however, what I also discovered is that the results
returned aren't much more intelligent than a basic
text search, in that the first item it presented me
was the API doc for the Java NSLog function. Well, the
source file I was working with was an Objective-C
file, the context was Objective-C and the only
referenced framework was the Objective-C Foundation
Framework. So why isn't that search smart enough to at
least detect what version of NSLog I selected and
bring me to the *right* one?
I'm hoping I've just got something configured wrong
and that this is correctable.
Thanks!
______________________________________________________________________
______________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
_______________________________________________
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
_______________________________________________
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