Eclipse CDT(用于C ++ / C开发)如何在键入时自动调用内容辅助 [英] Eclipse CDT (for C++/C development) how to invoke content assist automatically while typing

查看:432
本文介绍了Eclipse CDT(用于C ++ / C开发)如何在键入时自动调用内容辅助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse CDT(用于C ++ / C开发)如何在Visual Assist Visual Studio中输入时自动调用内容辅助。换句话说,如何将触发器作为所有键盘字符来调用内容辅助。请帮助我。

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

推荐答案

似乎所有有用的内容辅助选项默认关闭。转到首选项 - > C ++ - >编辑器 - >内容辅助 - >高级,并检查基于解析建议的默认(顶部列表),然后一些(如解析,字,模板)在底部。

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.

当然,已经建议,请转到内容辅助窗格本身,并确保它已打开,并减少延迟,使其显示更快(除非您希望它只显示当您按Ctrl +空格)。

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

这篇关于Eclipse CDT(用于C ++ / C开发)如何在键入时自动调用内容辅助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆