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

后端 未结 4 877
傲寒
傲寒 2021-01-31 05:22

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

4条回答
  •  没有蜡笔的小新
    2021-01-31 05:28

    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).

提交回复
热议问题