I use cscope with vim. When doing large edits for several files, cscope will report old line numbers for changed files. How can I rebuild cscope db from vim without losing
Thanks
First, you need to update cscope database. Then, reinit the database from vim. When there is an existing connection to the cscope database cscope. out , cscope creates another one ncscope.
First, you need to update cscope database.
:!cscope -Rbq
Then, reinit the database from vim.
:cs reset
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With