Problem during content assist

Problem during content assist

If you are working on eclipse and when you press ctrl+space after . for code assist and you see below pop-up:

Problem during content assist

Solution:

  • Open your .project file and add below:
<projectDescription>
    <buildSpec>
    	<buildCommand>
    		<name>org.eclipse.jdt.core.javabuilder</name>
    		<arguments>
    		</arguments>
    	</buildCommand>
    </buildSpec>
    <natures>
    	<nature>org.eclipse.jdt.core.javanature</nature>
    </natures>
</projectDescription>
  • now open your .classpath and add below classpath:
<classpath>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
</classpath>

 

Apart from this you could also enable or disable code assist using below steps:

  • Click window –> Preferences –> Java –> Editor –> Content Assist –> Advanced and un-check Java Proposals(Task-Focused) as below and click Apply OK

Problem during content assist

 

 

One thought on “Problem during content assist”

Leave a Reply

Your email address will not be published. Required fields are marked *