Skip to content

akhaku/vim-java-unused-imports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 

Repository files navigation

Vim Java unused imports#

v1.2.0 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

Customize highlight

highlight unusedimport ctermbg=DarkRed ctermfg=White guibg=#8b0000 guifg=#ffffff

This software is provided as-is, without any warranty whatsoever.

About

A vim plugin to display unused imports for java

Resources

Stars

Watchers

Forks

Packages

No packages published