vim-java-unused-imports
vim-java-unused-imports copied to clipboard
Ignore multi-line comments
Currently, only single line comments are ignored while scanning the file . If I find a nice way to solve this that'd be great !
After this, I don't know what else I could add to this plugin :p
A multiline lookbehind lookahead combo could work. Give that lookahead/behind is really slow, it would be worth doing it only after finding a match after the class definition, to verify that the match isn't in an import.
True but I'll try to look for a solution not involving lookbehind/lookahead though. If I am not satisfied with what I find, I'll go with that solution.