gvim windows cscope
来源:互联网 发布:linux 查看go语言版本 编辑:程序博客网 时间:2024/04/28 17:19
建立符号数据库
-----------------------------------
(1) 我们假设我们要阅读的代码放在D:/src/myproject下。然后打开命令行,进入源代码所在的目录,为cscope建立搜索文件列表。在命令行中执行以下命令:
D:/soft/vxwork_src>dir /s /b *.c *.h > cscope.files
D:/soft/vxwork_src>cscope -b
执行结束后你可以在当前目录下发现cscope.out文件,这就是cscope建立的符号数据库。上面这个命令中,-b参数使得cscope不启动自带的用户界面,而仅仅建立符号数据库。
(2) 编辑D:/Program Files/Vim/_vimrc,添加如下内容。
cs a D:/soft/vxwork_src/cscope.out
如果你的源代码是C++,则可以将cpp等扩展名也加入到上面的命令中。
dir /s /b *.c *.h *cpp *.hpp > cscope.files
-----------------------------------
(1) 我们假设我们要阅读的代码放在D:/src/myproject下。然后打开命令行,进入源代码所在的目录,为cscope建立搜索文件列表。在命令行中执行以下命令:
D:/soft/vxwork_src>dir /s /b *.c *.h > cscope.files
D:/soft/vxwork_src>cscope -b
执行结束后你可以在当前目录下发现cscope.out文件,这就是cscope建立的符号数据库。上面这个命令中,-b参数使得cscope不启动自带的用户界面,而仅仅建立符号数据库。
(2) 编辑D:/Program Files/Vim/_vimrc,添加如下内容。
cs a D:/soft/vxwork_src/cscope.out
如果你的源代码是C++,则可以将cpp等扩展名也加入到上面的命令中。
dir /s /b *.c *.h *cpp *.hpp > cscope.files
- gvim+cscope in windows
- gvim cscope in windows
- Windows 上 gvim + cscope
- gvim windows cscope
- gvim cscope in windows
- windows下gvim+ctags+cscope+taglist
- windows下gvim+ctags+cscope+taglist
- use cscope with gvim on windows
- 配置ctags cscope on gvim in windows
- gvim cscope
- gvim中使用 cscope
- cscope and gvim
- Gvim Ctags Cscope
- gvim cscope使用
- Gvim+ctags+cscope(转载)
- gvim配置cscope+ctags+taglist
- 在Vim(gvim)中使用cscope
- 在Vim(gvim)中使用cscope
- &高手解析在Win 7上如何建立虚拟wifi设置&【mfxp】
- Linux下vim命令详解
- OA项目之打印
- windows下的编译生成的R.dll 无R.lib 由dll生成lib的方法
- 机器学习--交叉验证
- gvim windows cscope
- HDU1056-水题
- NSLog各种打印
- Minigui学习--绘制
- PBRT and LuxRender 编译过程中遇到的问题的总结
- 高性能网络编程(一)----accept建立连接
- 在reboot的时候出错
- 【tobacco项目中的代码片段】
- Volatile