I am not entirely comfortable with way how Eclipse autocompletes code. I like the way how IntelliJ prompts suggestions (some say it's rather aggresive, but I like it that way).
So I went to: Window -> Preferences -> Java -> Editor -> Content Assist and set delay to 0ms and autoactivation trigger to ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.
Now Eclipse looks really fast with autocompletion but there's one very annoying thing: It completes proposed names of variables on every space hit.
So when I want to type:
String joe = "Joe";
eclipse is fast enough to ruin it to:
String joeString = ...;
In other words , pressing: String joe[space]
makesjoeString.
I hope I was clear enoguh, thanks for suggestions :)
By default Eclipse triggers the autocompletion after a certain delay when you insert a dot. This is sensible because the dot signals the IDE for example that you got an instance of a class and want to call a method on it. You can bring up the autocompletion by manually pressing Cmd plus Space whenever you want.
In the Window > Preferences menu, you can search for spell checking (located in General > Editors > Text Editors > Spelling) and there you can edit your spell checking options. Thank you for the suggestion. I tried unchecking the 'Enable Spell Checking' option (,restarted Eclipse) and the problem persists.
Window -> Preferences -> Java -> Editor -> Content Assist -> Set Auto Activation Delay(ms) : 200ms from 0ms in my case.
You can uncheck 'Window -> Preferences -> Java -> Editor -> Content Assist -> Insert single proposals automatically'. Once done, you should only get a popup window with the proposal but it will not be inserted automatically in the editor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With