Re: Java, Xcode, CodeSense, java docs, etc.
Re: Java, Xcode, CodeSense, java docs, etc.
- Subject: Re: Java, Xcode, CodeSense, java docs, etc.
- From: Brent Gulanowski <email@hidden>
- Date: Thu, 23 Sep 2004 19:15:24 -0400
On Thu, 23 Sep 2004 11:51:26 -0700, Rob Lockstone <email@hidden> wrote:
> I don't know what your current status is wrt this problem. But I
> continue to have a very difficult time getting code completion for java
> to work on both of my machines (latest OS, latest Xcode, latest Java
> including SDK, etc). I tried all the "tricks" and HAVE seen it working
> at times, but it breaks pretty quickly.
Aside from my bad Java skillz, it was working when I posted my last
message, as far as I could tell. I had to change the templates but I
didn't have to re-index, just closed and opened my project (I think --
sorry I wasn't paying really close attn. and as far as I can tell,
every time you re-open your project it scans for new index sources and
maybe that includes templates?)
I'm on the fence about using Java in my current project -- there's a
less mature C implementation, and I'm using Objective-C for the main
application. (If I use the Java route I have to create a secondary
process in Java and do a lot of inter-application communication, which
I'd rather avoid. But I may be re-writing the app in Java anyway,
depending on other stuff, so we may revisit this issue later. Fingers
crossed.)
>
> It's very strange. It will (sometimes) work in some files when I first
> create a project, depending on how I create it. But it soon reverts to
> the "words-in-file" style of completion. I filed a bug and was even in
> contact with one of the Xcode engineers and sent him a couple example
> projects and screenshots. I don't know if he's made any progress on the
> problem or if this is just something they've decided to table until
> Xcode 2.0 and Tiger.
Oh I'm sure they're working on it, but you're right, it won't ship
before Xcode 2.0, I predict. Tho' I'm sure many of us would like a
more frequent bug-fix release schedule for the developer tools.
>
> I haven't seen many people complain about this on this list. But I
> suspect that is true for a couple reasons:
>
> 1. Many Java developers don't use Xcode because it doesn't offer stuff
> like code completion, refactoring, etc. Preferring instead to use other
> Java-specific IDE's like IDEA, Eclipse, etc. I've stayed with Xcode
> hoping that their Java support will continue to improve. And I'm
> willing to wait, but I'm afraid there may not be many other people out
> there like me.
Because I'm primarily a Cocoa/Objective-C developer, I'm very
comfortable with Xcode, so for me it's worth sticking with it. I'm
playing with Eclipse, too, however. I don't like how it's organized,
but that would just be a habit thing.
>
> 2. Java developers who have stuck with Xcode don't care about code
> completion or simply prefer the "words-in-file" style of completion
> anyway.
Really? Frequently I can type faster than I can go through the list of
initial matches, but I still use Code Completion fairly frequently, if
only to avoid typos. As my Java knowledge is poor, it is a significant
help for me.
>
> Apple uses bug reports to help prioritize the work they do. And if not
> many people are reporting bugs about Java Code Completion, then it may
> not be on their radar (no pun intended) as much as other work. So if
> anyone reading this doesn't have perfectly working Java Code
> Completion, file a bug, because Apple needs to know. Then again, maybe
> Brent has it working fine, and I'm back to being the only person who
> can't get it to work reliably.
Yeah I think it's fine for me now. My only problem with
codesense/indexing are the stupid messages that it's trying to index
files in the wrong locations. It's my own fault for having GeekTool
running a console in the background, I guess. '-)
As for bugs, I have filed a bunch, but I don't like Apple's bug report
system either, and that is that. Apple engineers/doc writers can beg
and plead all they want, but people expect to see results when they
make an effort. Don't tell me what's good for me, acknowledge what I
want or you (not you, Rob) won't get what you want. Human nature.
As for the index template bad paths which caused the problem in the first place:
1. fix it
2. post a tech note or a release note or something. The archives can't
be searched any more, far as I can tell...
> On Sep 23, 2004, at 9:28 AM, Brent Gulanowski wrote:
>
> > I can't get code completion operating in Xcode.
> >
> > There was a recent thread on the subject which was a bit confusing,
> > but offered no help.
> >
> > Facts:
> > - words-in-file completion works
> > - neither java.* nor my classes autocomplete
> > - nothing appears in the class browser
> > - I am running: X 10.3.5, XCode 1.5, Java 1.4.2 + developer 1 update
> > (August 10/04)
> >
> > I found an entry in someone's blog describing a way to get it working,
> > but stall where I'm supposed to unarchive the java docs -- the script
> > is not there, nor is the folder it is meant to be in
> > (/Developer/Docs/Java). Then again, the docs are already resident on
> > my system in /System/Library/Frameworks/JavaVM.framework/Home/docs
> > (1.4.2).
> >
> > The release notes for Xcode 1.5 suggest code completion for Java just
> > works.
> >
> > Re-building my index does nothing.
> >
> > I'm not sure what to do next. Help appreciated.
> >
> > Thanks,
> >
> > --
> >
> > Brent Gulanowski
> > http://www.boredastronaut.com
>
>
--
Brent Gulanowski
http://www.boredastronaut.com
_______________________________________________
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