keskiju / autocomplete-java

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

improved class resolution for variables #32

Closed SlimeQ closed 8 years ago

SlimeQ commented 8 years ago

resolves the class for a variable based on the closest definition. does not traverse brackets properly but i don't think that's completely necessary. this routine works correctly even in unlikely situations like

String something;
Integer something;
List<Integer> something;

parameterized types are still ignored