How to find the callers and callee of a function in C code in vi/vim?

前端 未结 3 1212
小蘑菇
小蘑菇 2020-12-25 08:40

I want to know how can I easily click (or maybe use some easy shortcuts) on a function name and find all its callee or open where it has been defined. Most of the web manual

3条回答
  •  醉梦人生
    2020-12-25 09:05

    For that, Vim integrates with the cscope tool; see :help cscope for more information.

提交回复
热议问题