Ⅰ. 插件描述
Essbase script snippet fileⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/csc-snippets'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/csc-snippets'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/csc-snippets'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/csc.snippets
Ⅳ. 文档说明
Essbase script snippet file should be up-to-date with all features of Essbase 9.
you can insert into your code using a trigger word followed by a <tab>.
For instance, in a csc file, if you type "FIX<tab>" in insert mode, it will expand a typical for FIX:
FIX (fixMbrs)
commands;
ENDFIX
To go to the next item in the loop, simply <tab> over to it; if there is repeated code, such as the "i" variable in this example, you can simply start typing once it's highlighted and all the matches specified in the snippet will be updated. To go in reverse, use <shift-tab>.
If anything is missing, broken, not working well on your setup, or an inconvenience for you, please let me know, all feedback is welcome: <yyq123 at gmail.com>.
Enhancements:
- case sensitive
Screenshots:
- For statem with single srgument
http://www.flickr.com/photos/yyq123/5454484247/ - For statem with multipule argumets
http://www.flickr.com/photos/yyq123/5454484239/ - For statem list
http://www.flickr.com/photos/yyq123/5454484241/