keskiju / autocomplete-java

Java autocompletion for Atom editor
https://atom.io/packages/autocomplete-java
MIT License
40 stars 9 forks source link

autocomplete-java Number of downloads

Java autocomplete-plus provider for Atom editor. Current features:

Some planned future features:

Official page for package at atom.io: autocomplete-java

Preview

Screenshot

Usage

Configure classpath via a .classpath file. A simple project would typically contain a single .classpath file that is placed at the root directory of the project. A large project would contain a separate .classpath file for each module. An example of .classpath file contents:

./classes:./lib/*:../api/classes

There is an example of multimodule classpath setup on linter-javac Wiki.

You can alter the default .classpath filename and other autocomplete behavior with package settings.

NOTE:

Tips

At first, compile all your classes using your favorite build tool, and start your app. While editing java source files, lint and compile changed classes automatically with linter-javac, and the autocomplete-java package will refresh changed classes automatically on save. You can also reload changed classes automatically in JVM with spring-loaded or some other JVM agent. This way you can develop your app while the app is running.

NOTE: Current version of linter-javac performs bad in case of slow hard drive and large amount of classes to be linted. If you experience freezing during file save, consider disabling linter-javac, at least for now.

NOTE: Error in one class may prevent compilation of multiple classes. Therefore once you fix an error, multiple classes might be recompiled at once. So sometimes you might have to run 'project refresh' manually after you fix an error (ctrl-alt-shift-R). See issue #19.

Contribute

Contributions are welcome. Please comment on issues you would like to contribute to, or add feature requests of your own.