Project: JDT
Bug 337156 [content assist] steals my semicolon when I press ; outside of linked mode
Reported: 2011-02-14 14:09:37 | Status: resolved fixed

N20110213-2000 package xy; class Bug { void foo() { set } void setAnswer(boolean answer, int n) { } boolean getAnswer() { return true; } } - Have "Java Editor > Content Assist > Insert best guessed arguments" selected and "Java Editor > Typing > Auto-insert Semicolon" unchecked - invoke content assist after "set" - press Enter to accept first proposal - press End - press ; => line is "setAnswer(;|, 0)" where | is the caret Expected: Semicolon should be inserted at end of line where the caret was.

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ParameterGuesser.java