开发者

"How can I jump to functions in a C++ project with vi

开发者 https://www.devze.com 2023-03-01 01:26 出处:网络
I am making a c++ program with vi. It has only one file but it\'s getting kind of big. It would be nice if I could easily see all the functions I created and jump to any one of them without having to

I am making a c++ program with vi. It has only one file but it's getting kind of big. It would be nice if I could easily see all the functions I created and jump to any one of them without having to search for开发者_开发知识库 them. Can vi do this, or is there a similar program that can?


This seems like a dup of Jump to function definition in vim.

To sum up that answer, use ctags, and take a look at Vim and Ctags tips and tricks.


I use a vim plugin to do this :

http://www.vim.org/scripts/script.php?script_id=273

It summarizes classes, struct, function, with jump functionality.

0

精彩评论

暂无评论...
验证码 换一张
取 消