Vim: How to go to the declaration (of a class, method, function, variable, etc)

前端 未结 3 1090
不思量自难忘°
不思量自难忘° 2021-01-31 08:33

Right now I am working on a file which uses many classes, methods, functions, variables, etc. Is it possible to go to the declaration of all of them? Please, take into account t

3条回答
  •  悲&欢浪女
    2021-01-31 09:39

    You can try gd, it goes to local declaration, for more powerful 'go to definition', you might want to try tags as Ingo suggested.

提交回复
热议问题