That could be tricky to hunt down.
You could probably create an issue in our JIRA. Also when this happens
try to take a self-profiler snapshot with a few tries of code completion
in it. That might help. The classpath creation and updating mechanism in
the IDE is a hard part.
On 9/10/19 8:56 AM, Scott Palmer wrote:
I have found on multiple occasions that NetBeans “loses its mind” and forgets
items on the classpath.
I use exclusively Gradle projects.
I have found that after working for a day and coming back in to the office
(work computer is left on in case I decide to work remotely), sometimes the
open projects complain about not finding classes that are clearly there.
This morning I attempted to edit a source file and NetBeans is failing to
autocomplete anything in the java. package.
I type:
java.
and the popup says “No suggestions”. Really? You forgot all of the core Java
packages??
If I type:
Ma
and invoke auto-complete it will suggest to me Math from java.lang, or “Str” will
suggest ’String" so it is aware of classes in that package. But even typing
“ja” and invoking auto-complete automatically completed “javax.” as if “java.”
wasn’t an option
I’ve even had NetBeans fail to auto-complete names of basic classes like String
though.
Restarting NetBeans will fix the problem. The projects in question always
build correctly from the command line.
I’m not sure what to write in a bug report, this happens for all Gradle
projects as far as I’m aware. I don’t know what triggers it other than time.
I.e. eventually it happens on projects that were working fine when I started NB.
Regards,
scott
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists