ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Java​Imports

by MDeiml ALL

Sublime Text plugin for Java imports

Details

Installs

  • Total 23K
  • Win 13K
  • Mac 4K
  • Linux 5K
Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17
Windows 1 1 1 1 1 0 2 0 2 1 3 0 1 0 0 1 2 3 3 0 2 1 0 1 1 2 3 0 0 5 0 2 0 2 0 1 2 1 0 2 0 3 1 0 1 2
Mac 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 2 0 0 0 0 1 1 1 0 0 1 0 0 0 1 1 0 0 0 0 2 0 0 0 0 0 0 1 1 0
Linux 0 0 0 0 1 0 1 3 0 0 0 0 0 1 0 1 2 1 0 0 0 0 0 1 0 0 1 1 0 0 0 1 0 1 0 2 0 1 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeJavaImports

JavaImports is a Sublime Text plugin for automatically adding imports to your Java files. It resolves the package names by scanning through a source .zip or folder or a .jar file.

Installation

The best way to install this is using PackageControl

Usage

First you have to define your java_import_path in your settings. The best path to use is the src.zip in your Java JDK. You can also use your android.jar as path to work with android classes.

To add an import either mark all class names to import and press ctrl+alt+i or just press ctrl+alt+i and then enter the class name.

To add a library to your project, in your .sublime-project add

"settings":
{
    "java_import_path":
    [
        "default/java/import/path/src.zip",
        "path/to/library.jar"
    ]
}