Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No completion available in Eclipse

What causes strange Eclipse behavior that prevents to auto complete the code I typed by pressing Ctrl + Space? And how to solve this issue?

like image 458
gihooh Avatar asked Feb 14 '23 01:02

gihooh


2 Answers

I had the same. Windows-->Preferences --> Java --> Editor --> Content Assist --> Advanced. Make sure -Java Proposals- is ticked.

see this.

like image 146
Aliti Avatar answered Feb 19 '23 20:02

Aliti


To be precise this steps i usually take when such kind of bug come in my eclipse kepler,juno,gallileo(Tested)

  1. New WorkSpace

    Create a totally new workspace and import your existing project using import option general "import exisiting one".

  2. Content Assist setup

    Go to Preferences>Java>Editor>Content Assist>Advanced. Make sure “Other Java Proposals” is checked. Saying configure the behavious of program.

  3. No Overriding of ctrl+space

    Make sure (Ctrl + Space) combination key is not overridden by other application. Like a snapshot taker at my side did it.

like image 31
Vinayak Pingale Avatar answered Feb 19 '23 21:02

Vinayak Pingale