[ https://issues.apache.org/jira/browse/NETBEANS-4874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211471#comment-17211471 ]
Robert Allen commented on NETBEANS-4874: ---------------------------------------- I installed 12.1 but I didn't import settings. Previous install was updating from oracle netbeans 1.8 to apache netbeans 12.0 This now works. > new SimpleFileVisitor used in anonymous class breaks code completion, code > highlighting, fix error suggestions, project commands. > --------------------------------------------------------------------------------------------------------------------------------- > > Key: NETBEANS-4874 > URL: https://issues.apache.org/jira/browse/NETBEANS-4874 > Project: NetBeans > Issue Type: Bug > Components: cnd - Code Completion > Affects Versions: 12.0 > Environment: win 7, javaFX gradle project > Reporter: Robert Allen > Priority: Major > > Using SimpleFileVisitor in anonymous class breaks code completion, > highlighting, error fixing, suggestions, refactor, delete, navigator, just > about everything in the editor for that project. > > Files.walkFileTree(sourceDirPath, new SimpleFileVisitor<Path>(){ > }); > > Edit: Nothing special to get it to do this, just copy and paste the above > incomplete code and it will break netbeans for that file its in. The other > files in same project will continue to work as normal. Switch to another file > and back into the file you paste the snippet into and you will see navigator > fail as well as code completion, etc., just for that file. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- 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