如何最好地在Emacs内部进行源代码浏览? [英] How can I best do source code browsing inside Emacs?
问题描述
在emacs中是否有一些常见的IDE扩展,这将使我能够从跨越所有这些语言的多个文件中获得goto定义等功能?还有一些其他可能有用的模块,无论是代码浏览还是索引搜索?
如果您想使用很多不同的语言, ctags 是非常灵活的。有关ctags集成的说明,请参阅 EmacsWiki 。
I have a workflow where I use grep and other tools in a shell for searching in different projects even though my main editor is emacs. I usually work on bug fixing and minor development of source code that is often unknown to me so searching the code is important. The langages I mostly work in are php, ruby, java, perl and sometimes python.
Is there some common IDE extension in emacs that would enable me to have functionality like "goto definition" from multiple files that span all these languages? Are there some other modules that could be useful, either code browsing or indexed search?
If you want to work with lots of different languages, ctags is pretty flexible. See the EmacsWiki for instructions on integration of ctags.
这篇关于如何最好地在Emacs内部进行源代码浏览?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!