代码浏览,重构,自动完成在Emacs [英] code browsing, refactoring, auto completion in Emacs

查看:111
本文介绍了代码浏览,重构,自动完成在Emacs的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近切换到Emacs,仍然找到我的方式。
我在C ++代码,并想知道什么工具,在那里扩展Emacs支持代码浏览(找到一个符号等),重构和代码完成。
我听说过:

I recently switched to Emacs and still finding my way through it. I code in C++ and was wondering what tools out there extend Emacs to support code browsing (finding a symbol etc), refactoring and code completion. I have heard of:


  • cedet

  • etags

  • cscope

但是我对我的需求很困惑。有些地方说cedet提供所有的功能,但其他地方说我需要调用etab使cedet正常工作。

But I'm so confused about what I need. Some places say that cedet provides all of the functionality but other places say that I need to invoke etags for cedet to work properly.

有人可以为我清除这个吗?

Can someone clear this up for me? Do I need all of these tools?

推荐答案

也许你会发现我的文章关于Cedet有用。 Cedet支持etags,gtag,cscope和其他工具。

Maybe you will find my article about Cedet useful. Cedet has support for etags, gtags, cscope and other tools.

但是重构丢失了。您可能需要查看 Xrefactory 工具(但不是免费的)

But refactoring is missing. You may need to look into the Xrefactory tool (but it isn't free)

这篇关于代码浏览,重构,自动完成在Emacs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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