[ https://issues.apache.org/jira/browse/NETBEANS-238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16308580#comment-16308580 ]
Gili edited comment on NETBEANS-238 at 1/2/18 7:34 PM: ------------------------------------------------------- Okay. Here is a concrete example with nb-javac enabled. I created two projects. SlowCodeCompleteMaven, and SlowCodeCompleteAnt. They contain identical classes. In SlowCodeCompleteMaven, I place the caret inside {{MyClass}} after {{firstMethod()}} and before the closing brace. I then hit CTRL+SPACE. The IDE takes 7 seconds to respond. I get identical timing with nb-javac disabled. If I perform the same operation for an Ant project, the response is instantaneous. I am attaching these projects to this issue. Please take a moment to confirm whether you can reproduce the problem on your end. Thank you. was (Author: cowwoc): Okay. Here is a concrete example with nb-javac enabled. I created two projects. SlowCodeCompleteMaven, and SlowCodeCompleteAnt. They contain identical classes. In SlowCodeCompleteMaven, I place the caret inside MyClass after `firstMethod()` and before the closing brace. I then hit CTRL+SPACE. The IDE takes 7 seconds to respond. I get identical timing with nb-javac disabled. If I perform the same operation for an Ant project, the response is instantaneous. I am attaching these projects to this issue. Please take a moment to confirm whether you can reproduce the problem on your end. Thank you. > Invoking code-complete in Maven projects is extremely slow > ---------------------------------------------------------- > > Key: NETBEANS-238 > URL: https://issues.apache.org/jira/browse/NETBEANS-238 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Affects Versions: 9.0 > Environment: build 152 > Reporter: Gili > Priority: Critical > Attachments: SlowCodeCompleteAntAndMaven.zip > > > Say I'm in a class that has a field {{singletonScope}} where this class is > defined within the same Maven module. > I type {{singletonScope.}} then wait for auto-complete to suggest possible > methods. Code-complete takes roughly 10 seconds to come back. > This is reproducible 100% of the time. > Expected behavior: Code-complete should complete within 300ms or less. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists