tags:

views:

89

answers:

1

Hello

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

  • opened tabs/windowses in vim
  • connection with cscope engine

Thanks

+2  A: 

First, you need to update cscope database.

:!cscope -Rbq

Then, reinit the database from vim.

:cs reset
czchen