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 k
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).
Have you tried Ctrl+Space
? Also search for "Content Assist" in the preferences.
The sad thing is that - at least to my knowledge - content assist didn't change in those 2 years. It is still only triggered by ".", "->" and "::" and there is no way to configure it. The Eclipse Java editor though can be freely configured as wished by Nadith Pathirage: You can add any keys you wish to trigger content assist there. I wonder why CDT can't achieve the same...
(I know this is an old thread, but the topic is still important in my opinion...)
ctrl+Space can work well. but configure as auto-complete just like emacs auto-complete or vim youcompleteme, when typing words will invoke proposal, no way.