Eclipse's 'syso' Shortcut is Not Working?
Solution 1
I was facing the same problem and figured it out after playing around with some settings. So, here's what you should do:
- Go to Windows->Preferences-Java->Editor->Content Assist->Advanced.
- Check on the box saying- Java Proposals.
- Uncheck the box saying- Java Proposals (Code Recommenders).
Hope it helps.
Solution 2
Can you check this out
- Go to Windows->Preferences-Java->Editor->Content Assist->Advanced
- Select Template proposals and click Ok
Solution 3
I had the same symptom with eclipse 2021-06.
I discovered that the template named "syso" was gone.
Recreating "syso" worked.
Solution 4
Check this. Select any string then press Ctrl + Space eclipse detects the context.
Solution 5
I had exactly the same problem in Eclipse with the 'Template Proposals' menu popping up instead of completing the sysout shortcut. In my case, a plug-in installed recently was to blame. I unchecked all the templates for the plug-in in Preferences/(plug-in)/Templates - and this did the trick for me. Now the selection menu doesn't pop up any more, and syso + CTRL-SPACE works again as it should.
said
Updated on July 18, 2021Comments
-
said almost 3 years
I have been having this problem for a while and I have been constantly searching for an answer everywhere and finally chose to just ask it here. All the other posts I have seen don't fix my problem and I have tried doing the following:
Changed the binding of the shortcut
Made sure that is was checked under templates
Made sure all my settings were correct
Autocompletion on
When I type
syso
and press Ctrl + Space, instead of instantly giving me the insertion or shortcut I want, it just opens the 'Intelligent Proposals' menu and I have to press Ctrl + Space again in order to get to the 'Template Proposals' menu where I can actually double click "'syso' - print to standard out" and then it gives me the fullSystem.out.println
. It really does mess with flow and is very annoying.Any fixes to my problem? Thanks,
- Sa'id