Hacker Newsnew | comments | show | ask | jobs | submitlogin
Ask HN: Is there something better than cscope for navigating a large codebase?
2 points by demallien 706 days ago | discuss
To explain, I prefer to work in a terminal, using vi as my editor, so I'm not looking for a solution that uses a GUI. I mostly work in C, with a bit of Javascript on the side, but I'm not particularly worried about the Javascript part.

Basically I need to be able to be able to do the following operations: 1) find the definition of a function / variable (I know that tags in vi allow me to do this, but I don't believe that they allow me to do some of the other operations in this list) 2) find where that function is called 3) find a file by name in a project 4) find and replace arbitrary text in a project, preferably using regexps

cscope allows me to do these things, but it is a bit annoying in that I can't use vi's text-select / yank functionality to select an identifier that I can then paste into a search field in cscope - I have to correctly retype the identifier, or use gnome's copy/paste functionality, which means reaching for the mouse.

I would very much like to know what other HNers are using to work with large projects.




Applications are open for YC Summer 2015

Guidelines | FAQ | Support | Lists | Bookmarklet | DMCA | Y Combinator | Apply | Contact

Search: