3 ms·
Would be nice to see clang somehow generate a 'cscope' compatible database. This would make cscope much more reliable for C++ projects (cscope VIM/emacs plugin
by nimrody 14y ago
Would be nice to see clang somehow generate a 'cscope' compatible database.
This would make cscope much more reliable for C++ projects (cscope VIM/emacs plugins are very useful for efficiently navigating a large source tree).
- nitrogen 14y agocscope is an amazingly useful tool for a C developer, even without using an associated editor plugin. I was very impressed by its speed years ago when I could instantly look up the definition of any symbol in the Linux kernel (IIRC - it's been a while since I've had occasion to use it).
- sunnybythesea 14y agoAgreed. Cscope is pretty damn fast & handy. I use it with the vim plugin when doing Android dev and it works well to quickly look-up definitions. What I find most impressive is how fast it builds the references. I can essentially build a cscope.out file for the entire Android project in under 4 minutes. The only thing I've had trouble with is getting the Java tags to work. Anybody else know how to set that up?
- swift 14y agoI have some interest in this as well. At least in the case of vim, there are completion plugins based on clang that work quite well, but for some reason they don't support navigation right now. Just being able to "go to definition" is a big deal.
- loeg 14y agoI like 'ctags' for the editor integration (vim) -- never got a handle on cscope's interface.