Archive for December 8th, 2009

cscope + emacs

用cscope在emacs中快速浏览代码。一直止步与cscope交叉引用本目录中的文件。

今日实在不能忍受了,于是在google上搜到它的官网,找到该指南

在本目录创建一个cscope.files文件,里面加上每一个需要交叉引用的文件路径即可。

e:

find .. -name “*.cpp” >> cscope.files

find .. -name “*.h” >> cscope.files

如此,在emacs中直接使用cscope即可,不需做任何其他设置了。

,

No Comments

SetTextSize SetPageWidth