Vim Java unused imports
A simple vim plugin to show unused imports in a java file. Built for purely selfish reasons, open-sourced to help others.
This is my first dabble im Vim scripting, so feedback is welcome.
This plugin works with pathogen. Simply clone this repository to a subfolder within bundle/. Alternatively, copy unused-imports.vim to plugin/
In normal mode:
:UnusedImports " highlight all unused imports :UnusedImportsReset " clear the highlights :UnusedImportsRemove " remove all unused imports
This software is provided as-is, without any warranty whatsoever.
Recent changes: 12/9: Ignores references to unused imports in single line comments