Eclipse's 'syso' Shortcut is Not Working?

23,960

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:

  1. Go to Windows->Preferences-Java->Editor->Content Assist->Advanced.
  2. Check on the box saying- Java Proposals.
  3. Uncheck the box saying- Java Proposals (Code Recommenders).

Hope it helps.

Solution 2

Can you check this out

  1. Go to Windows->Preferences-Java->Editor->Content Assist->Advanced
  2. Select Template proposals and click Ok

enter image description here

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.

enter image description here

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.

Share:
23,960
said
Author by

said

Updated on July 18, 2021

Comments

  • said
    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 full System.out.println. It really does mess with flow and is very annoying.

    Any fixes to my problem? Thanks,

    • Sa'id