Re: Xcode 1.5 Release - Java Code Completion Issues
Re: Xcode 1.5 Release - Java Code Completion Issues
- Subject: Re: Xcode 1.5 Release - Java Code Completion Issues
- From: Rob Lockstone <email@hidden>
- Date: Fri, 6 Aug 2004 15:10:14 -0700
I don't know if this is relevant, but I get the following error twice
in the Console every time I start Xcode 1.5, before even opening a
project file:
2004-08-06 15:06:53.562 Xcode[2191]
_NSCodeAndEnumerationFlagForTypeInSuite(): The type 'NSData<QDPoint>'
used in the script suite 'PBXProjectSuite' wasn't parsed successfully.
Rob
On Aug 6, 2004, at 1:06 PM, Rob Lockstone wrote:
The class browser appears to show all my classes. At the very least,
it is showing classes that I know are NOT working with code
completion. I'm sorry, I don't know what a "Definition Search" is or
how to perform one. Can you elaborate?
Yes, if I look at the Activity Viewer while rebuilding the index, it
does show the files being processed.
I followed Christian's recommendation from a previous post and
modified the JavaIndex/JavaIndex.xcode/project.pbxproj file to use
CurrentJDK instead of pointing directly at 1.4.1 and then re-ran the
install_templates script. I also went into my own project directory
and removed the .pbxindex directory and it automatically rebuilt my
project's index from scratch when I restarted Xcode.
The result is exactly the same as before. I am not seeing methods (or
at least not the correct methods) for my own local classes. Nor am I
seeing the correct/complete methods for Java classes. For example,
attempting to use code completion on an instance of a
java.text.SimpleDateFormat object with the method name starting with
the letter 'p' shows such weird names as: party, possible, pretty and
probably. None of which are methods on the SimpleDateFormat object. I
really don't understand that list of words at all. The word "pretty"
appears absolutely nowhere in any of my source files except in some
comments and in an html file (which I don't think is part of the index
anyway, is it?). Furthermore, the two methods of SimpleDateFormat
which DO start with 'p' are parse and parseObject, neither of which
show up in the code completion list.
Also, as before, for any methods that are legitimate, it does not show
any argument lists.
Is there something else I can try? Something else I can delete and
rebuild? It seems like "code completion", for me at least, is just a
list of words that happen to appear anywhere in any of the files
included in the project. It's more like a vocabulary list than
anything else.
Rob
On Aug 6, 2004, at 10:09 AM, David Ewing wrote:
On Aug 5, 2004, at 8:42 PM, Rob Lockstone wrote:
Actually, it's even worse now. I re-ran the install_templates
command (restarted, even though I thought that wasn't necessary),
then rebuilt my project's index (Get Info -> Code Sense -> Rebuild
Index). Now I don't even get method names for my own classes, much
less for Java classes. :-(
Any thoughts?
What do you see in the class browser? Can you do a definition search
and find classes/methods? (Definition searches are the "lowest level"
access to the index. If they don't find a symbol, the symbol's not in
the index.)
Rebuild the index again with the Activity Viewer open. Do you see the
files get processed? If you're using index templates, you shouldn't
see all the system classes go by (but you should have seen them go by
when you built the templates in Terminal).
Dave
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.