树袋熊的窝 » 日志 » 程序员的利器:Cscope
程序员的利器:Cscope
albert 发表于 2007-10-12 23:32:45
参考:
help csccope
VIM/cscope指导:http://cscope.sourceforge.net/cscope_vim_tutorial.html
在大项目中使用cscope:http://cscope.sourceforge.net/large_projects.html
基本:
cscope的快捷键:gn(x),x可以是以下值,需要在vimrc中的映射,原始命令是cs find x
s: Find this C symbol
g: Find this definition
d: Find functions called by this function
c: Find functions calling this function
t: Find this text string
e: Find this egrep pattern
f: Find this file
i: Find files #including this file
windows相关:
cscope不能加到path,因为有sort.exe,还是复制到gvim目录下。
help csccope
VIM/cscope指导:http://cscope.sourceforge.net/cscope_vim_tutorial.html
在大项目中使用cscope:http://cscope.sourceforge.net/large_projects.html
基本:
cscope的快捷键:gn(x),x可以是以下值,需要在vimrc中的映射,原始命令是cs find x
s: Find this C symbol
g: Find this definition
d: Find functions called by this function
c: Find functions calling this function
t: Find this text string
e: Find this egrep pattern
f: Find this file
i: Find files #including this file
windows相关:
cscope不能加到path,因为有sort.exe,还是复制到gvim目录下。
相关日志:
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
