PDA

View Full Version : XCode Java API search?




Helmut Kool
Aug 15, 2004, 08:40 AM
How can I enable searching the standard Java API classes in XCode documentation window? When I type text in the search field, it only searches from com.apple.*, so it doesn't find for example java.awt.Image.

I'm using XCode 1.5 and I have installed the latest Java updates (including development package). Searching used to work in 1.1 at least sometimes.



jsw
Aug 15, 2004, 09:30 AM
Not a giant help, but have you opened up ../Resources/Documentation/Reference/doc/api/index.html in the Java folder? Nice view of all the classes.

Edit: you can get to this within Xcode, but it's easier, I think, to open it directly.

jsw
Aug 15, 2004, 09:40 AM
Have you already done the required Terminal command:
sudo /Developer/ADC\ Reference\ Library/documentation/Java/scripts/unjarJavaDocumentation.sh

to unpack all the files?

Helmut Kool
Aug 15, 2004, 12:22 PM
Yes, I have unpacked the documentation and I can browse the API HTML files from XCode (and otherwise). But being able to search would be useful when you don't know exactly what class or function you need.

jsw
Aug 15, 2004, 01:57 PM
Yes, I have unpacked the documentation and I can browse the API HTML files from XCode (and otherwise). But being able to search would be useful when you don't know exactly what class or function you need.Oh, I completely agree. I tend to use Eclipse or JBuilder personal Edition for Java coding and hadn't looked all that much into using Xcode for it, but 1.5 tempts me. If I find out anything, I'll post back.