Ⅰ. 插件描述
Parse C++ header files and generate C++ implement codeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'xuqix/h2cppx'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'xuqix/h2cppx'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'xuqix/h2cppx'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/xuqix/h2cppx
Ⅳ. 文档说明
Parse c++ header file and generate c++ implement code
Purpose: Provides "header file to cpp file" capabilities to develop plugin for other platform.
Required: python 2.x
Author: xiaok
External module required: yaml Cheetah
Third-party: pyvisitor CppHeaderParser(modification)
Help Query:
h2cppx -h
example:
python h2cppx sample/sample.h
Already includes platform support:
- vim support: vim-port branch, just use "git checkout vim-port" to get it.
About the error code description of program exit,see the doc/error_code.txt file.
About how to write a template file,see the doc/template.md file.