Community
Participate
Working Groups
I wanted to add a static import, so added a new empty line below the folded 'imports' block, and started typing. import stat At this point, I stopped typing for a second (looking up the classname to statically import). The automagic import fold merger kicks in, and adds the above line to the list of folded import statements. My cursor is moved to the line below it (again directly under the folded imports). Obviously, the type checker finds the partial import statement wrong, and marks the import fold with an error. I now have to manually unfold the import list, finish the import I was typing, and manually fold the import lines again. It would be nice if the import fold merger didn't eat such partial lines, or perhaps even all import lines containing errors.
*** This bug has been marked as a duplicate of bug 185665 ***
*** This bug has been marked as a duplicate of bug 104373 ***