Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
12.0
-
None
-
win 7, javaFX gradle project
Description
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.