Ctrl + Space not working for content assist on ecl

2020-01-31 02:55发布

My problem is that the content assist window won't pop up after clicking Ctrl + Space. I checked my shortcuts and the content assist is bound to Ctrl + Space. Sometimes the window automatically pops up making suggestion after typing dot e.g., but this won't happen when using the keys combination.

Eclipse version:

Eclipse Java EE IDE for Web Developers.

Version: Kepler Service Release 1 Build id: 20130919-0819

My OS is Ubuntu 12.04 if that matters.

标签: eclipse
10条回答
我想做一个坏孩纸
2楼-- · 2020-01-31 03:03

To enable Ctrl+Space.

  1. Go to Control Panel --> Region and Language --> select Keyboard and Languages tab --> Change Keyboard button --> select General tab --> Under Installed Services --> Remove all languages except English(United States). click apply and ok.

  2. Eclipse --> Windows --> Preferences --> Java --> Editor --> Content Assist --> Advanced --> select all Java & Java Type Proposals.

  3. Eclipse --> Windows --> Preferences --> General keys --> Type Content Assist in right side search box --> Select command Content Assist --> click on Restore To Default --> Apply --> ok

Now you are ready to use ctrl + space feature for content assist.

查看更多
三岁会撩人
3楼-- · 2020-01-31 03:05

I managed to fix it finally. The problem was that the ibus was overriding the shortcut so I deleted this shortcut configuration.

Type ibus in the dash: Search for ibus

Then select Keyboard Input Methods. From there click on the first three dots next to the Enable or disable textfield. This windows should appear: Shortcuts

If there is something bound to Ctrl + Space simply delete it.

查看更多
Ridiculous、
4楼-- · 2020-01-31 03:10

This issue happened to me and none of the stack solutions seemed to resolve it. I finally figured that some other windows task was stealing my hotkey press. If nothing else works, I recommend that you downloaded a free software 'Windows Hotkey Explorer' that reported the registered hotkeys.

In my particular situation, I found ctrl+space was seized by 'blackboard collaborate' (a unpalatable java application for webcasts used by some of my courses).

I closed Eclipse killed all java processes (which included blackboard). Restarted eclipse and my autocomplete was back!

(Note: Hotkey Explorer was incredibly buggy and crashed every time I used it. I was able to get the information I needed before it crashed though so it was useful. Another (shareware) application that I didn't use but noticed online is: Hotkey Commander.

查看更多
We Are One
5楼-- · 2020-01-31 03:11

In my case; Window>Preferences>Java>Editor>Content Assist>Advanced

Make sure Select the proposal>Template Proposals,SWT Template Proposals,Java Proposals ,Content assist cycling>Template Proposals,SWT Template Proposals,Java Proposals is ticked.

查看更多
可以哭但决不认输i
6楼-- · 2020-01-31 03:11

Earlier I was also facing the same issue : I just followed below steps :

  1. Go to Windows --> Preferences --> Java --> Editor --> Content Assist --> Advanced --> select all Java & Java Type Proposals.

  2. Click on Apply and close it.

  3. Restart the eclipse.

enter image description here

查看更多
一纸荒年 Trace。
7楼-- · 2020-01-31 03:12

For that Go to

Eclipse --> Windows --> Preferences --> Java --> Editor --> Content Assist --> Advanced --> select all Java & Java Type Proposals.

and check mark : Java Proposals(Code Recommenders)

查看更多
登录 后发表回答