This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 58280 - After openide split - code completion is broken
Summary: After openide split - code completion is broken
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on: 42681
Blocks:
  Show dependency tree
 
Reported: 2005-04-25 14:54 UTC by rmatous
Modified: 2005-12-22 10:59 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rmatous 2005-04-25 14:54:25 UTC
Code completion doesn't offer classes from org.openide.filesystems,
ErrorManager, Lookup ...

There is necessary to add imports for these classes by hand but usage of "Fix
imports" deletes them as soon as invoked.



Build 200504241800.
Comment 1 Jesse Glick 2005-04-25 17:16:09 UTC
I already have it fixed in working sources, but this is mixed up with issue
#42681 changes. Please be patient.

BTW I am surprised that the code completion doesn't work *at all* - I would
expect it to work, but not offer popup Javadoc or Go To Source etc. No? Anyone
know why?
Comment 2 Martin Krauskopf 2005-04-25 17:22:32 UTC
It doesn't work at all for XMLUtils, ErrorManager, etc. Those classes are not
offered in the completion window neither their methods after manual import. Yes,
"Go To Source" doesn't work too. Alt+Shift+F removes them from a list of
imports. ( I don't know why :) )
Comment 3 Jesse Glick 2005-04-25 18:14:23 UTC
Can someone running an (unpatched) trunk build please look at the classpath
specified in the property sheet of some module .java file and see what is wrong?
It should still include openide.jar, which should still exist and be full of
classes as usual.
Comment 4 Jan Lahoda 2005-04-27 09:17:30 UTC
Unfortunatelly, it does not. Compile CP for Status on editor/errorstripe
contains this:
${nball}/openide/src:${nball}/openide/loaders/src:${nball}/editor/src:${nball}/editor/libsrc:${nball}/editor/fold/src:${nball}/editor/util/src:${nball}/editor/plain/src:${nball}/editor/plain/lib/src
Comment 5 Jesse Glick 2005-04-27 17:03:33 UTC
Weird. What uses ${nball}? Should be ${nb_all}. I can't find any reference to
such a property name at all.
Comment 6 Jan Lahoda 2005-04-27 21:27:27 UTC
Sorry, I forgot to specify this: I replaced hard-path to my nball directory with
${nball}. (Text replace "/home/lahvac/netbeans/nball"->${nball}".)
Comment 7 Jesse Glick 2005-04-27 22:11:45 UTC
Do you still have a dir openide/src on disk? If so, please delete it and see if
that works. If not, I guess you have to wait for my patch - should be soon now.
Comment 8 Martin Krauskopf 2005-04-27 23:09:26 UTC
Yes, deleting the directory solved the problem.
Comment 9 Jesse Glick 2005-04-28 05:54:20 UTC
Fixed as part of issue #42681.
Comment 10 Tomas Danek 2005-12-22 10:59:03 UTC
forgotten issue, works now for 5.0 and for trunk -> verified.