I have submitted a bug on this problem as well. Hopefully it will get
fixed. I am having another person in my office submit a report for
this problem seeing as he is experiencing it as well. Thanks for the
link to the bug reporting system, it saved me a step or two :-).
By the way, I do/did experience the problem within the code (not just
import statements), but I found that if I went to Xcode's preferences
and turned off "Type Definitions" in the 'Function pop-up' section of
the 'Navigation' panel that my code completions within the code were
drastically improved.
--
Michael
On Sep 30, 2004, at 2:09 PM, Rob Lockstone wrote:
Other people who read this (or the Xcode) list will think I sound like
a broken record.
From your description, it sounds like you are seeing the same problem
I see on my two machines running Xcode 1.5. That is, you're seeing the
Xcode 1.2-style Code Completion. Which is basically to index the
contents of all the files in the project and just show a sorted list
of the contents of that index when Code Completion gets invoked. I
*have* seen the Java Code Completion work correctly (showing the
proper methods and even argument lists). But it's very flakey and (so
far) always reverts back to the 1.2-style. I've even seen the case
where some files in a project exhibit the correct Code Completion
behavior while other files in the same project use the 1.2-style. For
me at least, this happens with everything (class names, method names,
etc.) not just import statements. Your description only talks about
"import", so maybe you actually do have working (sans import) Code
Completion, but I don't.
I have filed a bug <http://bugreport.apple.com/>, including two very
simple projects where the Code Completion works in one and not the
other (at least on my machines). But I would urge you to file a bug as
well, especially if what you're experiencing is what I described
above, because Apple uses the number of reports of the same bug to
help prioritize what gets fixed and I would love to see this get fixed
before OS X 10.4 and Xcode 2.0.
Rob
On Sep 30, 2004, at 8:00 AM, Michael Fey wrote:
I have been attempting to use Xcode 1.5's new Java code sense to move
my development environment from NetBeans into Xcode. Well let me
tell you, it has not been a basket of roses.
After enabling Code Sense in Xcode I open up a new Java Swing project
(for example) and go to the main class of that project. I want to
import javax.swing.JFrame;
After typing in javax.swing. (both of which get correct completion
suggestions) I get a set of numbers, some comments from the header of
my file, and bunch of fairly useless stuff. Now if I type 'JF' I do
get a suggestion for 'JFrame', but shouldn't the Code Sense only show
what is in the javax.swing package? NetBeans does. Does anyone know
how I can repair this issue?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden