Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I refresh the auto-completion in eclipse

I'm am using eclipse-cdt and the auto-completion feature works fine. But after I changed the interface of a class the auto-completion shows the new function as well as the old one which aren't even there anymore.

Refreshing the project has no effect. Neither does a restart of eclipse and I can't seem to find out how I refresh the index that is obviously kept somewhere to speed up the auto-completion feature.

Any help would be appreciated.

like image 729
Cornelius Avatar asked Mar 19 '11 13:03

Cornelius


People also ask

How do I change autocomplete in Eclipse?

Step 1: Open your Eclipse or Spring Tool Suite, then go to the Window > Preferences as shown in the below image. Step 2: In the next screen go to the Java > Editor > Content Assist > Auto activation triggers for Java as shown in the below image.

What is the keystroke for code completion in Eclipse?

println statement in your Java file, you can use the following Eclipse shortcut keys. Just type "sysout" in your Java editor and press Ctrl + space, which triggers code completion.

Does Eclipse have code completion?

To activate automatic code completion in IDE plug-in for Eclipse: In Eclipse, select Window > Preferences. In the Preferences window, select JavaScript > Editor > Content Assist.


1 Answers

You just have to refresh the internal CDT index. To do so right click on your C/C++ project > Index > Rebuild

like image 180
greydet Avatar answered Sep 22 '22 05:09

greydet