Ctrl Space Not Working in Eclipse Helios on Win 7

后端 未结 13 1289
青春惊慌失措
青春惊慌失措 2021-02-07 10:47

I have shifted by Dev Env recently to Eclipse Helios on Windows 7. After that the Ctrl + Space Content Assist feature is not working. I found out that that key option is utilize

相关标签:
13条回答
  • 2021-02-07 11:38

    Configure Eclipse’s content assist, go “Preferences>Java>Editor>Content Assist>Advanced“. Make sure “Other Java Proposals” is ticked.

    http://www.mkyong.com/java/content-assist-ctrl-space-is-not-working-eclipse/

    0 讨论(0)
  • 2021-02-07 11:41

    In my case nothing happens after pressing Ctrl+Space. Right now I have set a different short cut for the same and solved

    Check your "Keys" preferences: maybe the Content Assist" shortcut has been overridden by another command which would also use Ctrl+Space.
    That could happen with the installation of a new plugin, coming with its own set of commands and shortcuts: the bug 303894 for the XText plugin is a good example.

    0 讨论(0)
  • 2021-02-07 11:41

    I have seen a similar problem in Eclipse Juno (version 4.2.0).

    Since you have already tried Eclipse/Java code completion not working, I would check to see if there are any key conflicts. Go to Window -> Preference -> General -> Keys. In the filter box, replace the light gray "type filter text" with the word "Content"; the first item should be "Content Assist." Select it. It should have nothing in the Conflicts box in the lower right-hand portion of the screen.

    If you have no conflicts, then it is likely that there is another program, outside of Eclipse, that is binding to Ctrl + Space.

    I worked around this with an ugly solution. I copied the Content Assist. In the Binding field, I entered held down the Ctrl + Alt keys and pressed space. This restored the Content Assist function, but it required a brain remap when I am using one machine.

    0 讨论(0)
  • 2021-02-07 11:49

    This was solution for me to get rid of windows key shortcuts:

    1. Go to Start > Type in regedit and start it
    2. Navigate to HKEY_CURRENT_USER/Control Panel/Input Method/Hot Keys
    3. Select the key named: 00000070 for the Chinese (Traditional) IME - Ime/NonIme Toggle hotkey 00000010 for the Chinese (Simplified) IME - Ime/NonIme Toggle hotkey
    4. In the right sub-window, there are three subkeys. Key Modifiers designate Alt/Ctrl/Shift/etc and is set to Ctrl (02c00000). Virtual Key designates the finishing key and is set to Space (20000000).
    5. Change the first byte in Key Modifiers from 02 to 00
    6. Change the first byte in Virtual Key from 20 to FF
    7. Log off and log back on. I don't think it's necessary to restart.
    8. Do not change the Hot keys for input languages in Control Panel, unless you want to do this all over again.

    https://superuser.com/questions/327479/ctrl-space-always-toggles-chinese-ime-windows-7

    0 讨论(0)
  • 2021-02-07 11:49

    @Polac - Thx. That's what fixed it for me. I'd hit ctrl+space and I'd get a popup for chinese character selection. I have Windows 7 so for me it was: Control Panel -> Region and Language -> Keyboards and Languages tab -> Change keyboards... button -> Advanced Key Settings tab

    Be warned, its stubborn. I tried to just clear them, but as soon as I applied the settings they reset back to using the original key bindings. If I change the key binding to something obscure they still reset sometimes. It's annoying. Maybe its just my OS installation that's goofed, but it could be a Microsoft bug.

    Didn't need Chinese on my system, so I removed it as an installed language in the first tab and that finally got rid of the hardcoded Chinese key bindings.

    0 讨论(0)
  • On my Ubuntu, Xfce, ctrl space was allocated to switch language on the iBus preferences (if you have this running, you will see the 'i' icon on the task bar, right click and choose preferences). To change this, bring up the IBus Preferences, on the General tab, see the "Enable or disable:" option, click the ellipses and provide a different keyboard assignment.

    This sorted me out without need to restart Eclipse.

    0 讨论(0)
提交回复
热议问题