Re: Xcode 3.0 and Java Code Completion
Re: Xcode 3.0 and Java Code Completion
- Subject: Re: Xcode 3.0 and Java Code Completion
- From: Andrew Pontious <email@hidden>
- Date: Sun, 6 Apr 2008 12:09:54 -0700
On Mar 31, 2008, at 8:25 PM, Rob Lockstone wrote: I would have sworn this was working, but now I'm not so sure.
Code completion in a java project is working in terms of completing java import statements and in finding strings that exist in the project, but it's not doing method completion, either for standard Java library methods or even for methods within the scope of the project of even the same file.
Did I miss some step when installing Xcode 3.0?
I can duplicate this with a newly created Java Tool project, so I know it's not specific to my projects. I've tried rebuilding the code sense index (multiple times), but no luck.
I also tried searching the list archives via apple's site and google. I don't see any recent (post 3.0 release) of this problem, so I have to assume I'm doing something wrong. I have also created a Java Tool project in Xcode 3.0, and am having trouble with code completion. If you look at the class browser window for such a project (Cmd-Shift-C), you'll see that the index is populated with Java library classes, such as String, and String has methods.
But if I do this in my main Java class:
public static void main (String args[]) { // insert code here... System.out.println("Hello World!");
String foo = new String();
foo. }
and attempt to code complete after "foo.", I get no results. I get the same behavior in 2.5, so switching to Xcode 2.5 is not a viable workaround.
Please file a bug with your own use case for this issue, and email me the bug number.
Thanks,
-- Andrew
|
_______________________________________________
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