如何在cscope.out files中使用绝对路径

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

你可能感兴趣的:(scope)