Eclipse sometimes goes clueless on assisting content when Ctrl + Space is pressed. Either it does'nt pops up the list, or else the popped up list would be empty without any suggestions. This can happen in any version of the eclipse begining from 3.2 to the latest 3.7 Eclipse Indigo. This is not due to the bug in eclipse. Its all about the configuration of eclipse editor and the Java project. Below are the four possible solutions that can help the user to get back the content assist
1.Create a New workspace project in Eclipse
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. Check the Content Assist Configuration
Configure Eclipse’s content assist, go “Preferences>Java>Editor>Content Assist>Advanced“. Make sure “1
Other Java Proposals” is ticked
3. Change Regional Setting option in Windows
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.
4. Check the Lib folder in Current Project
Scenario -
There might be some class references with same name inside the jar's that are included in the library, or there might be chance of same "xyz.jar" included in two or more library jar's in the current project lib folder.
Solution -
1. Keep only one "xyz.jar". Remove "xyz.jar" from the jar's that include it, and keep only in current project lib.
2. Include it in any one of jar's inside the lib.
1.Create a New workspace project in Eclipse
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. Check the Content Assist Configuration
Configure Eclipse’s content assist, go “Preferences>Java>Editor>Content Assist>Advanced“. Make sure “1
Other Java Proposals” is ticked
3. Change Regional Setting option in Windows
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.
4. Check the Lib folder in Current Project
Scenario -
There might be some class references with same name inside the jar's that are included in the library, or there might be chance of same "xyz.jar" included in two or more library jar's in the current project lib folder.
Solution -
1. Keep only one "xyz.jar". Remove "xyz.jar" from the jar's that include it, and keep only in current project lib.
2. Include it in any one of jar's inside the lib.
