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.
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.
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.
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.
You just have to refresh the internal CDT index. To do so right click on your C/C++ project > Index > Rebuild
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With