vim - How to let cscope use absolute path in cscope.out file? -
After loading a cscope.out in veem, I see the Vim's "PWD" in the same directory as cscope.out Is required under the file, which may be due to the path relative to the use of that cscope while generating the tag file. So if there is a way to force cscope to use the full path in your tag-cscope.out, then this is the PWD of your non-session session, similar to that directory, which is under cscope.out file. / P>
When you import cscope.out, you can supply the prefix, i.e.
: Cscope /path/to/cscope.out/path/to/ src / code
add
Then your searches will be turned on:
Cscope Tags: foobar # line filename / context / line 1 21 / path / to / src / code /foobar_file.c
Comments
Post a Comment