sponsor Vim development Vim logo Vim Book Ad

functags.vim : create menu entries for each function definition in a C/C++ file

 script karma  Rating 1/5, Downloaded by 1284  Comments, bugs, improvements  Vim wiki

created by
thomas ramming
 
script type
utility
 
description
This script generates menu entries for each C/C++ function definition within the actual edited C/C++ file.
After executing it, you can move to any of the functions by selecting them via menu.

- adds a menu entry under a main menu 'Proj'
- creates a file cfunctags.vim as script for generating the menu entries

BUGS: does not handle references ('&') and destructors (~) correctly.
           If anyone would add these, please let me know.

The script is just quick and (hope not very) dirty written, but working (only short tests up to now)
under GVIM 5.8, NT4.0, Novell network

 
install details
Create a menu entry in your _gvimrc to source in and call this script:
"($VIM_SYNTAX must contain the path to this script file)
'menu 12.10 Proj.Add\ local\ functions :so $VIM_SYNTAX/functags.vim<CR>'
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
functags.vim 1.0 2001-09-04 5.7 thomas ramming Initial upload
ip used for rating: 18.222.179.186

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github