keskiju / autocomplete-java

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

Can't automatically add imports #34

Closed dylanm312 closed 8 years ago

dylanm312 commented 8 years ago

I'm not quite sure how to get this plugin to add imports for me automatically. I can do it manually through the right click -> get import -> paste method, but I can't seem to get the imports to add themselves automatically. Help?

keskiju commented 8 years ago

The "get import and paste" is a feature of java-importer package and it does not support automatic imports at all. But if you are asking help for autocomplete-java package, have you tried to follow all instructions in the usage section? The autocomplete-java package requires installed JDK, configured classpath and compiled class files.

dylanm312 commented 8 years ago

I'm not sure I quite understand how to set up the .classpath file. The readme isn't very helpful regarding specifically how to set the file up.

dylanm312 commented 8 years ago

I figured it out. Thanks for your help!