Skip to content

nguydavi/vim-java-unused-imports

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

#Vim Java unused imports# Author: akhaku

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.

Usage

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

About

A vim plugin to display unused imports for java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%