vim-gencode-cpp : auto generate c++ function definition or declaration
script karma |
Rating 8/10,
Downloaded by 1570 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
tenfy zhong |
|
script type |
ftplugin |
|
description |
more infomation: https://github.com/tenfyzhong/vim-gencode-cpp
Features
generate the function definitions of class
generate the static variable fefinitions of class
generate the declaration of the function
Usage
run GenDefinition in a function or variable declared
run GenDeclaration in a definition of a function
Configuration
g:cpp_gencode_function_attach_statement
A list of statement, this will be insert into function body before the function return.
Dependency
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 |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.9.172
|