Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdeiml/sublimejavaimports
Sublime Text plugin for Java imports
https://github.com/mdeiml/sublimejavaimports
Last synced: 19 days ago
JSON representation
Sublime Text plugin for Java imports
- Host: GitHub
- URL: https://github.com/mdeiml/sublimejavaimports
- Owner: MDeiml
- Created: 2014-12-21T21:12:59.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-07-14T10:17:09.000Z (over 2 years ago)
- Last Synced: 2024-10-10T23:31:10.808Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](https://sublime.wbond.net)
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"
]
}