Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Vim java imports manager

--

Licence:

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License.
See http://www.gnu.org/copyleft/gpl.txt

Summary Of Features:

  • Insert import
  • Sort imports
  • Insert package declaration

Usage:

Copy this file in your vim plugin folder
No classpath or configuration needed. This plugin use the regular vim search.
So you only need a good search index (through ctags or cscope for example)

Commands

  • <Leader>is Sort imports
  • <Leader>ia Search class from <cword>, add it to the imports and sort imports
  • <Leader>ip add or replace package declaration
  • You can define the package sort order using g:sortedPackage
  • You can define the package deth blank line separator using g:packageSepDepth

Notes:

This plugin is an improvement of the anonymous function found here : http://vim.wikia.com/wiki/Add_Java_import_statements_automatically

About

Vim java imports manager

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages