emacs 智能感知
我知道这个问题已经讨论过很多次了,但是 emacs 中的 c/c++ intellisense 有什么好的方法吗?我一直无法正确设置 cedet。
现在我正在开发一个具有庞大代码库的维护项目,如果没有适当的智能感知,管理起来非常困难。目前我正在使用带有 ctags/cscope 的 vim 和智能感知的全功能,效果很好;但我想让 emacs 工作。
I know this has been discussed a lot of times but is there any nice how-to for c/c++ intellisense in emacs? I have never been able to set up cedet properly.
Right now I am working on a maintenance project with a huuge code base and it is very difficult to manage without proper intellisense. Currently I am using vim with ctags/cscope and omnicomplete features for intellisense which works great; but I would like to get things to work with emacs.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您无法使 CEDET 正常工作,那么您可以将 auto-complete.el 与 CTAGS 结合使用,或者仅使用words-in-buffer 或words-in-all buffers。无论如何,如果您确实让 CEDET 正常工作,那么您基本上就得到了您想要的东西。它对我来说非常有效。然而,自动完成是完全通用的,并且支持插入任意数量的后端。
请参阅:http://www.emacswiki.org/emacs/AutoComplete
If you cannot get CEDET working, then you could use auto-complete.el combined with CTAGS or just words-in-buffer or words-in-all-buffers. For what it's worth, if you did get CEDET working, then you would have essentially exactly what you want. It works very well for me. Auto-complete, however, is totally generic and supports any number of backends being plugged into it.
See: http://www.emacswiki.org/emacs/AutoComplete