What is a good tool to aid in browsing/following C

2019-02-01 17:40发布

I sometimes need to modify OSS code or other peoples' code (usually C-based, but sometimes C++/Java) and find myself "grep"ing headers for types, function declarations etc. as I follow code flow and try to understand the system. Is there a good tool that exists to aid in code browsing. I'd love to be able to click on a type and be taken to the declaration or click on a function name and be taken to it's implementation. I'm on a linux box, so replies like "just use Visual Studio" won't necessarily work for me. Thanks!

27条回答
聊天终结者
2楼-- · 2019-02-01 18:38

I find ID Utils quite handy. It is like an instant recursive grep. There are bunch of vim recipes to go with it.

查看更多
爱情/是我丢掉的垃圾
3楼-- · 2019-02-01 18:41

Vim and Ctags works for me.

查看更多
SAY GOODBYE
4楼-- · 2019-02-01 18:41

I use the Understand for C++. It's very handy tool to deal with large amounts of code. It also can calculate code statistics and draw call graph. Must have!

查看更多
登录 后发表回答