Results 1 to 2 of 2
Hi all!
I'm using ubuntu 9.04;
Is there a complete library for C++ programming in ubuntu like "MSDN"?!
When using "Vim", I want to access a function's complete definition such ...
- 06-23-2010 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 27
How to access a function's definition in "vim"?
Hi all!
I'm using ubuntu 9.04;
Is there a complete library for C++ programming in ubuntu like "MSDN"?!
When using "Vim", I want to access a function's complete definition such as it's header file, library description and parameters, etc.
Is it necessary to install something from repository to obtain such a documentation?
And what would be the command to access a function's description in "vim"?
TIA
- 06-23-2010 #2
This depends. Vim doesn't automatically know about the definitions of your functions.
What you are able to do is create a "tags" file by using the "ctags" program. The tags file tells you the definition of every function. Therefore, you can create a tags file for your entire repository, and then use the Ctrl-] command to jump to the definition of a file.
You can find more information by running the command ":help tags-and-searches" from Vim.DISTRO=Arch
Registered Linux User #388732


Reply With Quote