when type in first part of local variable name , press ctrl+space in order show content assistant, displays full name of variable , preselects it.
in eclipse luna release full name becomes inserted if press . on keyboard , content assistant shows accessible members of variable instance.
with eclipse mars inserts dot directly after incomplete variable name.
how can switch behavior eclipse luna?
public class { public int member; public void possiblyall(){ } } public class test { private amembernamewhichislong_1; private amembernamewhichislong_2; private amembernamewhichislong_3; public static void main(string[] args) { test t = new test(); t.amem } } in example, caret located after t.amem. ctrl+space displays full name. pressing . closes content assistant , produces code: t.amem.
in luna was: t.amembernamewhichislong_1.
this bug introduced code recommenders plug-in (see answer @johannes dorn fix).
you can (temporarily) disable code recommenders via window > preferences > code recommenders > completions > [x] enable code recommenders code completion
Comments
Post a Comment