This behavior betrays me.
I type the following:
fileName.append(c.get(Calendar.HOUR_OF_DAY))
Now that I have typed that contextual advertising has surfaced. I did not select HOUR_OF_DAY from the content help, and I did not press the enter button to fill it in automatically. I just typed "HOUR_OF_DAY". I typed both ends of parens ")" at the end of the line too, I did not click the tab.
My cursor is at the end of the line, and I type:
Eclipse inserts; AFTER the cursor! So when I press enter, the semicolon will move to the next line!
I tried everything I could think of in the settings. I turned on the "auto smeicolon" option, which should automatically put semicolons at the end of the line, but that doesn't fix it.
One key: if I press "ENTER" before entering ";" at the end of the line, the content support window goes off and; inserted correctly with the cursor, now afte ;. Therefore, the content assistant is messing with me.
Any help is appreciated.
eclipse
LPalmer
source share