sponsor Vim development Vim logo Vim Book Ad

vim-gencode-cpp : auto generate c++ function definition or declaration

 script karma  Rating 8/9, Downloaded by 1459  Comments, bugs, improvements  Vim wiki

created by
tenfy zhong
script type
more infomation: https://github.com/tenfyzhong/vim-gencode-cpp
generate the function definitions of class
generate the static variable fefinitions of class
generate the declaration of the function

run GenDefinition in a function or variable declared
run GenDeclaration in a definition of a function

A list of statement, this will be insert into function body before the function return.

a.vim vimscript #31
install details
windows users change all occurrencws of ~/.vim to ~\vimfiles.

You can choose you preferred bundle manager
Run the following commans in a terminal:
mkdir -p ~/.vim/bundle  
cd ~/.vim/bundle  
git clone https://github.com/tenfyzhong/vim-gencode-cpp.git  ;
echo 'set runtimepath^=~/.vim/bundle/vim-gencode-cpp' >> ~/.vimrc  

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
vim-gencode-cpp-1.3.2.tar.gz 1.3.2 2016-06-14 7.4 tenfy zhong add test
vim-gencode-cpp-1.3.0.tar.gz 1.3.0 2016-06-07 7.4 tenfy zhong support namespace
generate declaration support namespace
generate definition support template
ip used for rating:

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