Closed sysoleg closed 4 years ago
Oleg,
Thanks for the pull request. It’s intended to have the default settings. You shall be able to customize the command with vscode setting.
Yes, of course. But I think it is better to have symmetry in cscope
options by default. Index files are unconditionally rebuilding during the first find (-L0,1,2,3,4
) with current defaults and performs slower afterwards because of the absence of -q
option in find commands. This behavior is very visible with huge codebases where cscope index setup takes a few minutes, such as Linux Kernel source code.
I see. Thanks. Will merge and publish with another security patch together
In order to use and to prevent removal or unnecessary rebuilding of cscope inverted index files (cscope.in.out and cscope.po.out), the options (-k, -q) for index building and search commands must be consistent.