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:16

Ctrl+space was not working in my eclipse.Somehow it got disabled.

I have tried many options and didnt worked any options.

Finally this was work out

Go to Preferences > Java > Editor > Content Assist > The "Auto activation triggers for Java:" field. Paste "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz." (note the dot after z) .This is the best solution and no need to even press ctrl+space.

查看更多
男人必须洒脱
3楼-- · 2020-01-31 03:24

It happened to me also, What I have done is change the workspace folder to Another folder and problem solved!

查看更多
够拽才男人
4楼-- · 2020-01-31 03:26

Though I have eclipse proposal settings configured properly it was not working for me. In my case Ctrl+space key combination was hijacked by another background running process (I was running AllwaysOnTop utility for windows). it worked after exit that process. :)

查看更多
Root(大扎)
5楼-- · 2020-01-31 03:27

Go to Windows > Preferences > Java > Editor > Content Assist > Advanced > select all Java only. If you select all, then multiple occurrence of same instance would be shown in Suggestion list. which might be annoying some times.

enter image description here

查看更多
登录 后发表回答