Content Assist (Ctrl + Space) Is Not Working – Eclipse
Problem
Content Assist (Ctrl + Space) is not working in my Eclipse IDE version 3.3. I have two Eclipse IDE installed, both in my laptop and personal desktop computer. However my laptop Eclipse 3.3′s content assist feature is working perfectly, but not my personal desktop computer. Every time, when i pressed on the Ctrl + Space combination keys, Eclipse just show me nothing…it’s drive me crazy. How can such a killer feature is disabled in my Eclipse IDE !!!?
I start Googling online, this problem is happened since Eclipse IDE version 3.2, many people suffer and many solutions come out to quick fix on it. Sadly, there is no final solution for it, some may work and some may not.
Solution
Here i summarized few solutions that may fix it.
1. New Project WorkSpace
Create a totally new workspace and import your existing project. Remember check “Copy projects into workspace” to copy all your existing work to new workspace.
2. Content Assist Configuration
Configure Eclipse’s content assist, go “Preferences>Java>Editor>Content Assist>Advanced“. Make sure “Other Java Proposals” is ticked
3. No Hijacked
Make sure (Ctrl + Space) combination key is not hijacked by other application. For examples, My desktop computer (Ctrl + Space) combination key is hijacked by my Windows text input feature. I enabled it for Chinese and English language, one of the text input combination key is using (Ctrl + Space), so, conflict happened.
3. Regional and Language Options
Make sure “regional and language options” is in English language. For example, Windows, Control panel –> Region and language options –> Advance tab –> Language for non-unicode program –> Make sure English (United States) is selected, others may not work, no idea why like this, but it worked.
If your project is configured as Maven project, Maven -> Update Project Configuration may also help. It helped for me on Eclipse Indigo.
Are you installed Maven-Eclipse related plugin?
Ctrl + space was hijacked here cause of the program ‘maConfort’ running the back.
Fixed now, thanks for the help.
I am using Eclipse 3.7.1(Indigo) and I want to say 2-nd proposal was very helpful for me.
thanks!!!!!
thanks dude u comment was very useful in finding the fix for my problem again in Indigo
thank you so much bro
respect froum Turkey
Option 3 did the trick for me… thank you..
I downloaded Indigo & my content assist was not working, your second option helped me. thanks for the help & sparing your time to share with us.
Thank you!
2nd solution worked for me!!! your the man!!!
I cannot see “Other Java Proposals” in “Preferences>Java>Editor>Content Assist>Advanced”. Can any body help me with that ?
I just upgraded to Java 3.7 (Indigo) & my content assist kinda broke. But after applying your – ‘Content Assist Configuration’ suggestion it was brought back to life.
Thanks a ton!
Eclipse 3.7, i haven’t upgrade yet, will give it a try soon
Same here. It had been troubling me for days.
I knew it was something to do with preferences so I kept clearing out my workspace and reimporting my preferences. But now I know that it was just that eclipse was forgetting to include java proposals in the content assist…
Kinda wacky, but at least I know how to fix it now.
Thanks mkyong.
Check the lib of your project. It may be that you have include two such jar files in which same class is available or say one class in code can be refrenced in two jar files. In such case also eclipse stops assisting code as it is totally confused.
Better way to check this is go to the file where assist is not working and comment all imports there, than add imports one by one and check at each import if code-assist is working or not.You can easily find the class with duplicate refrences.
It worked, You really rock Mona….Really you thrown some light in to my eclipse editor..jars including the same class files , Eclipse stops assisting.
Thanks man,
Control Panel-> Language settings worked for me.
Thanks
Thank you!
My content assists used to work fine, but some reason it broke.
This worked for me.
Close all the project from navigator
and close the eclipse.
after few mins open the eclipse, then open the first project which does not have any
dependency on any other project, then next one, which depend on the first and so on.
haha… it’s funny, thanks for sharing your experience.
Second solution worked for me.
Thanks a lot.
Thanks..
First solution worked for me
Thanks!
The first solution fixed the problem. This works for other versions of Eclipse( newer versions), but the menus are a bit changed.
lol fu***ng msn plus!!!
ctrl+space == hide!
thank you!
messenger was using this key combination!
The 3rd solution saved me,
I had installed MSN plug in called messenger plus and it used ctrl+space to lock the messenger. so i unchecked that feature and now eclipse works again.
Thanks for the tip!
Thanks your tip
Thanks checking “Other Java Proposals” enabled the Content assist for me.
you have the shorcut to block the msn only, desactivate and fix ;D
Ya.. many programs are using the content + space key
, sound it’s a popular combination ~
How to use code assist in views (MVC) when code assist don’t list variables defined in another file? Does exist a comment tag, that do “force insert into code assist list” ? Thanks.
Sorry, cant get you, would to mind to elaborate more ?
Thanks a lot. Solution 2 worked and a lot of time.
Thanks, solution 2 worked perfectly. You saved many hours of pain
Thnx mate…
2) Go Preferences>Java>Editor>Content Assist>Advanced
P.S Make sure “Other Java Proposals” is ticked
worked for me … u saved my life …
thx it works. i checked everything in
Preferences/Java/Editor/Content Assist/Advanced
and the problem is fixed
Java content assist inside jsp pages does not work in eclipse.
I am using :
Eclipse Java EE IDE for Web Developers.
Build id: 20090621-0832
This used to work properly when I was using the older eclipse 3.1.1
Can anyone help?
Thanks.
you rock
If you use MSN plus, it uses the ctrl+space for blocking the Messenger itself. In preferences and options, go to Messenger, Block Messenger, and disable block messenger. This will allow you to use ctrl+space for the content assist at your Eclipse programm
Sometimes it doesnt work because the regional langauge settings is not English(US)
exactly !!! thanks for the tips
Hmmm, it took the URL as a link for my name here it is again:
http://www.ipros.nl/2008/12/20/get-content-assist-working-in-eclipse-in-jsp-java-projects/
Best,
Patrick
Look at the attached URL to find out how to add content assist for JSP pages within a Java project.
Thanks. The first solution fixed my 3.3.