I'm currently using STS 4.6.1.RELEASE and JDK 11.0.7 with Content Assist enabled.
I can reference attributes with
var, e.g. in the code
var customer = new Customer(); I can begin typing "cus..." and press Ctrl+Enter, it will show me "customer" as an option.
I cannot reference the same attribute in this case:
var customer = new Customer(); var customerGroup = new CustomerGroup(); customer.setGroup(<autocomplete here does not work>);
It won't show me customerGroup as an option. Only when I use the class instead of
CustomerGroup customerGroup = new CustomerGroup();.
Is it unsupported by STS? Can I configure it do support this feature?