keskiju / autocomplete-java

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

Include parameter names in suggestions #5

Open keskiju opened 8 years ago

keskiju commented 8 years ago

Class descriptions are currently read with javap command and unfortunately it doesn't print out parameter names. But if a java source file exists for a class, we can scan it both for method parameter names and javadoc descriptions during class loading. Some jar files include javadoc also.

keskiju commented 8 years ago

Now autocomplete-java implementation includes parameter names if classes have been compiled the -parameters switch of Javac. Still missing parameter names for most libraries though.