Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ctrl + Space not working for content assist on eclipse

Tags:

eclipse

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.

like image 682
Ivaylo Toskov Avatar asked Jun 02 '14 02:06

Ivaylo Toskov


People also ask

How do I fix Content Assist in Eclipse?

Solution. Go to Window -> Preferences -> Editor -> Content Assist -> Advanced and enable Parsing-based Proposals. Click Apply. Content assist should start working immediately.

How do I enable Content Assist in Eclipse?

To enable the Content Assist window to open automatically, go to the Content Assist Preferences page, accessed from Window | Preferences | PHP | Editor | Content Assist and mark the 'Enable auto-activation' checkbox.

Why shortcuts are not working in Eclipse?

My problem was solved when I restored defaults values of my Keys. Go to Window -> Preferences -> General -> Keys. Then, click Restore Defaults button at the bottom, and restart Eclipse.


2 Answers

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.

like image 99
devcelebi Avatar answered Oct 06 '22 02:10

devcelebi


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.

like image 31
Ivaylo Toskov Avatar answered Oct 06 '22 01:10

Ivaylo Toskov