Re:Clang based documentation generator for C and C++
by swift on Wednesday February 13, 2013 @11:43AM
(#5214039)
I 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.
Re:Clang based documentation generator for C and C++
by loeg on Wednesday February 13, 2013 @01:30PM
(#5214749)
I like 'ctags' for the editor integration (vim) -- never got a handle on cscope's interface.
Re:Clang based documentation generator for C and C++
by nitrogen on Wednesday February 13, 2013 @11:08AM
(#5213777)
cscope 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).
Re:Clang based documentation generator for C and C++
by sunnybythesea on Wednesday February 13, 2013 @02:25PM
(#5215104)
Agreed. 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?
This would make cscope much more reliable for C++ projects (cscope VIM/emacs plugins are very useful for efficiently navigating a large source tree).