My Eclipse IDE (version Juno) fails to show System.out.println() when I enter Syso(Ctrl + ‘Space’) according to rule. How to fix it? Why is this erratic behavior taking place? Let me inform, it doesn’t happen all the time but yes sometimes it does occur! My OS is Windows 8, 64-bit system.
2 Answers
You can go one step further and get Code assist in eclipse.
- Eclipse > Preferences > Java > Editor > Content Assist
- Auto Activation > Auto activation triggers for Java
Enter all the characters you want to trigger autocomplete, such as the following:
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ._
-
Right after doing what both of you have suggested(#Zeus and #Dazak), it’s coming as: when I write Syso in Eclipse IDE, and then press ‘Ctrl + Space’ then it shows the list of Template proposals as sysout. When I select this ‘sysout’ it prints System.out.println(“”); on screen. But my question is: just a few days ago, there was no such problem with Syso, it was working fine. Why and how did this sudden change take place?– QUEENCommented Apr 12, 2016 at 14:52
Try just writing syso (lower case) and then push ctrl+space. If is still not working, then verify that you have selected the template...
Preferences->Java->Editor->Templates
Also verify that in the right side the column Auto Insert
is on
-
Right after doing what both of you have suggested(#Zeus and #Dazak), it’s coming as: when I write Syso in Eclipse IDE, and then press ‘Ctrl + Space’ then it shows the list of Template proposals as sysout. When I select this ‘sysout’ it prints System.out.println(“”); on screen. But my question is: just a few days ago, there was no such problem with Syso, it was working fine. Why and how did this sudden change take place?– QUEENCommented Apr 12, 2016 at 14:52
if your question generally covers…software tools commonly used by programmers
.