By setting up some preferences in Eclipse, we can achieve an IntelliSense-like behavior in Eclipse. If you have ever used Microsoft Visual Studio, then let me explain what IntelliSense is. IntelliSense can speed up your coding by auto-completing your words as you type, lets say you have aVeryLongVariable in your code, as soon as you start typing aV, a box will pop-up with the suggestions for auto-completion, you can either continue typing or just press enter and your variable will be auto-completed.
[topads][/topads]
By default, Eclipse can achieve this only by typing a period (.), or by pressing Ctrl+Space. With IntelliSense, the autocompletion pop-up box will appear as soon as you start typing, which comes really handy and speeds up your coding. You can read more about IntelliSense in Wikipedia
Follow the below steps to achieve this in Eclipse:
- Eclipse (or Window in Windows) -> Preferences -> Java -> Editor -> Content Assist
- Set Auto activation delay to 0
- Set Auto activation triggers for Java to
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz =.(!+-*/~,[{@#$%^&
Happy Coding 🙂
[bottomads][/bottomads]
makes my eclipse bloody slow tho…