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.

Tags :

About the Author

mkyong
Founder of Mkyong.com and HostingCompass.com, love Java and open source stuff. Follow him on Twitter, or befriend him on Facebook or Google Plus. If you like my tutorials, consider make a donation to these charities.

Comments

  • Pingback: Google()

  • J

    Thanks, #2 solved my problem

  • Apurv khadamkar

    2. Content Assist Configuration ..works perfectly …Thanks man cheers :)

  • http://[email protected] Jefferson

    thnk u!!!!!!!!!

  • sa

    Thanks dude.

  • Rafaela Cavalcante

    Thank you, very very much! You saved my life!

  • http://sarigalin.ir sarigalin

    Thanks alot
    Solution #2 helped me.

  • ZhaoYidong

    Thank you very much! I just have same problem with you.

  • Bishwajeet

    Thanks……………..it is predicting now.

  • Alex

    Thanks a lot. The “Content Assist Configuration” worked for me.

  • Diego

    Thanks guy, the first solution worked for me =)

  • ayushman

    You are outstanding!!!!it really helped me!!

  • arief mr

    thx.. it works..

  • Uriel

    Restore Default – also good

  • http://amilkhanzada.com Amil

    In my case, I had a small utility that overrode my ctrl+space to put windows always on top (http://www.howtogeek.com/howto/13784/keep-a-window-on-top-with-a-handy-autohotkey-script/).

    Disabling it fixed the problem. Whew, I’m glad I have content assist back!

  • http://www.a-bridge.jp/staff_blog/2012/01/post-70.html#comments news

    Thanks a lot for providing individuals with remarkably memorable possiblity to read articles and blog posts from here. It’s usually so enjoyable and stuffed with fun for me and my office friends to search your blog at the least 3 times a week to find out the newest things you have got. And definitely, I’m at all times satisfied for the perfect hints you serve. Selected 3 facts in this article are completely the most efficient we have ever had.

  • Scott

    Thanks for this!
    I was having a similar problem, and it would give me these cryptic errors that Google knew nothing about. Fixed it by resetting my Content Assist > Advanced stuff to default and restarting Eclipse :)

  • Wayne Schroeder

    I did a fresh install of juno “classic sdk” and was working on a workspace I had created previously with juno “Java EE” and my content assist was not working. I found that going into the java -> editor -> content assist -> advanced as noted and then checking one, saving, then going back in and restoring defaults was all that was needed.

    Long story short, just bumping the config to something else and back to defaults seemed to fix mine. I really didn’t need the “java non type” clicked at all in the end.

    Wayne

  • Melbourne

    Thank you…..so much…..!!!
    Suggestion no. 2 worked for me….:)

  • http://clintjcl.wordpress.com ClintJCL

    I can’t just make a new workspace because it’s over a full day’s worth of work.

    My ctrl-space is not working for JSF XHTML files. My laptop broke. It was fine on my old laptop, but it’s not working on the new laptop. This is making it so I can’t do my job… It’s a complex system and autocomplete is really required here! :/

  • Mike

    Thank you for such a useful and timely advise (I was fed up with Content Assist stumbling every 30-40 lines of code in Eclipse-based Spring Tool Suite)!
    In addition I found that going this way: Window->Preferences->Java->Editor->Content Assist->Insertion (Completion inserts / Completion owerwrites) ‘Press ‘Ctrl’ to toggle while content assist is active’ I can do the same choice as in Intellij IDEA while choosing whether to inserts or overwrite while editing my code (I can press either Enter OR Ctrl-Enter and voila!)