Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse CDT (for C++/C development) how to invoke content assist automatically while typing

Tags:

Eclipse CDT (for C++/C development) how to invoke content assist automatically while typing like in Visual Assist for Visual Studio. In other words how to give triggers as all keyboard characters to invoke content assist. Please help me..

like image 920
Nadith Pathirage Avatar asked Apr 01 '11 04:04

Nadith Pathirage


1 Answers

It seems that all the useful content assist options are turned off by default. Go to the preferences -> C++ -> Editor -> Content Assist -> Advanced, and check Parsing-based proposal for default (top list) and then some more (like parsing, word, template) in the bottom one.

Of course, you're free to check even more, but parsing-based is the one that matters the most. Of course, you also need to have indexing enabled, by at least that seems to be enabled by default.

And, of course, as already suggested, go to the Content Assist pane itself and make sure it's all turned on, and reduce the delay to make it show up faster (unless you want it to only show up when you press Ctrl+Space).

like image 142
EboMike Avatar answered Oct 11 '22 07:10

EboMike