More direct link: https://sourceforge.net/projects/cscope/files/ I set the forward proxy automatically rewrite http://subdomain.sourceforge.net links into the above https:// format.
Cscope: A developer's tool for browsing source code
21–30 of 37 posts
Re: Cscope: A developer's tool for browsing source code
#22Re: Cscope: A developer's tool for browsing source code
#23What would be the workflow when using such tools like this or Source Trail? I've used cscope once while I'm testing out vim as my main text editor a bit. Nowadays I'm using the global search feature of vscode for code exploration. Combined with the available language server for each language, it seems to work well enough for me currently.
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
#24Currently an unmaintained project. https://sourceforge.net/projects/kscope/
Re: Cscope: A developer's tool for browsing source code
#25Re: Cscope: A developer's tool for browsing source code
#26Earlier quoted context omitted.
By no means.
What has it got that makes it better than clang-complete/you complete me? I switched a few years ago, maybe i wasn't using all of cscope's strengths?
The reason i like it is because it is implemented in the classic "Unix Tools" manner i.e. small, fast, self-contained, good feature set and easily integrated with many editors. Now of course you have lots more tools with similar functionalities but i find most to be too big and unwieldy with lots of dependencies and a pain to setup. If you have ever been forced to work on minimal systems with no Desktop GUIs, remote targets etc. you come to appreciate small powerful tools which you can carry with you everywhere.
Re: Cscope: A developer's tool for browsing source code
#27Amazing that the last update was apparently 8 years ago. My workflow works better w ctags, but when ctags lack, cscope can usually fill the gap.
Re: Cscope: A developer's tool for browsing source code
#28Earlier quoted context omitted.
By no means.
The last changelog entry is from 2012.
Re: Cscope: A developer's tool for browsing source code
#29cacope has excellent emacs integration as well.
for c++, unfortunately, cscope was ok till about c++-98, but modern incarnation of the standard seem to have given rise to a slew of tools for code navigation.
most notable amongst them being around the notion of compilation databases and language servers etc. unfortunately though, for large codebases (>= 1 giga-lines) in my experience they don’t seem to offer anything better, and need to be used in conjunction with grep and their modern incarnations f.e ripgrep etc. making the entire workflow quite unwieldy...
Re: Cscope: A developer's tool for browsing source code
#30Also helpful for exploration of unknown code. However, in general it navigates between files opened already (as it generates ctags on open). But allows loading an externally generated ctags file. Also does symbol usage lookup and auto-completion.