When I enter the first part of the local variable name and press Ctrl + Space to display the content helper, then it displays the full name of the variable and pre-selects it.
In the Eclipse Luna release, the full name will be inserted if you click . on the keyboard, and the content assistant displays all available members of this instance of the variable.
With Eclipse Mars, it inserts a dot immediately after the name of an incomplete variable.
How can I switch this behavior back to Eclipse Luna?
public class A { public int member; public void possiblyAll(){ } } public class Test { private A aMemberNameWhichIsLong_1; private A aMemberNameWhichIsLong_2; private A aMemberNameWhichIsLong_3; public static void main(String[] args) { Test t = new Test(); t.amem } }
In this example, the carriage is after t.amem . Ctrl + Space displays the full name. Clicking closes the content helper and creates this code: t.amem.
On the moon it was: t.aMemberNameWhichIsLong_1.
java eclipse code-completion eclipse-mars
Pax
source share