When it happens, look in the log file to see if there are relevant error messages.
Gj On Tue, 10 Sep 2019 at 18:06, Scott Palmer <[email protected]> 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 > > > >
