IntelliSense in Eclipse

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.





 

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

eclipse-system eclipse-variable

Follow the below steps to achieve this in Eclipse:

  • Eclipse (or Window in Windows) -> Preferences -> Java -> Editor -> Content Assist
  • contentassist-eclipse
  • Set Auto activation delay to 0
  • Set Auto activation triggers for Java to ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz =.(!+-*/~,[{@#$%^&

Happy Coding 🙂

Esau Silva
Software Engineer at Region One ESC
Microsoft Full Stack Application Developer
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed.
Share