News for hackers. Stuff that matters.
Re:Cscope: A developer's tool for browsing source code by yeowMeng on Friday January 01, 2021 @10:44PM (#25610183)
Cscope in vim to jump between caller and callee (examine relationship). See where symbols are used. Jump to global definition. Could not live without cscope!
Re:Cscope: A developer's tool for browsing source code by fis on Friday January 01, 2021 @10:57PM (#25610256)
Yes this is how I use it and I love it. I think some IDEs havee similar capability but for vim users cscope is an great way to understand large code bases by quickly jumping through callchains. There's a 'Using Cscope with Vim' tutorial on the page that covers it.
Re:Cscope: A developer's tool for browsing source code by joelthelion on Saturday January 02, 2021 @03:03AM (#25611205)
Vim now also supports the more powerful vscode language servers. If you haven't done so already, I encourage you to give them a try.
Re:Cscope: A developer's tool for browsing source code by harry8 on Saturday January 02, 2021 @05:34AM (#25611825)
Vim Youcompleteme plugin with libclang support does this better for me. Have you compared?