【发布时间】:2018-11-08 02:29:40
【问题描述】:
我已经将我的 Windows 机器设置为与 gvim + cscope + ctags 一起使用,就像我过去在旧 Linux 环境中所做的那样。
Cscope 工作但只是部分工作,一些命令不起作用:
:cs find e foo /find a pattern/
:cs find t foo /find a text/
:cs find i foo /find files including this file/
其他的似乎工作正常。 这是我在 minGW 上运行的生成标签脚本:
rm -f tags
rm -f cscope.*
find . -type f -name *.c ! -path "./bin/*" -o -name *.h ! - path "./bin/*" -o -name SCons* ! -path "./bin/*" >cscope.files
cscope -icscope.files -b -q -k
/c/Users/M0081495/Downloads/ctags58/ctags58/ctags.exe -R -L cscope.files
【问题讨论】:
-
[已解决] 最后我解决了安装本机 windows cscope.exe 可执行文件的问题。到目前为止,我使用的是 cygwin 内置的 cscope 应用程序。
标签: windows vim mingw ctags cscope