When importing cscope.out, you can supply the prefix, i.e.
:cscope add /path/to/cscope.out /path/to/src/code
Then your searches will turn up like:
Cscope Tag: foobar
# line filename / context / line
1 21 /path/to/src/code/foobar_file.c
本文介绍了一种使用cscope工具的方法,通过指定cscope.out文件路径和源代码路径前缀,可以更有效地进行代码搜索。例如,在配置好路径后,搜索结果会显示文件名、上下文及行号等详细信息。
9704

被折叠的 条评论
为什么被折叠?



