Ⅰ. 插件描述
Vim plugin that helps to track your debug codeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'aserebryakov/you-debug-it'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'aserebryakov/you-debug-it'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'aserebryakov/you-debug-it'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/aserebryakov/you-debug-it
Ⅳ. 文档说明
you-debug-it
you-debug-it is a Vim plugin that helps to control your debug code.
Installation
Install you-debug-it
Pathogen
$ cd ~/.vim/bundle
$ git clone https://github.com/aserebryakov/you-debug-it.git
NeoBundle
NeoBundle 'aserebryakov/you-debug-it'
Without plugin manager
Clone or download this repository and copy its contents to your ~/.vim/
directory.
Usage
Commands
:YouDebugItStart- enables automatical insertion of comment tag into text:YouDebugItStop- disables automatical insertion of comment tag into text:YouDebugItClean- deletes all the lines containing the tag:YouDebugReviewStart- opens location list of tagged lines:YouDebugReviewFinish- closes and clears location list of tagged lines
Contribution
Source code and issues are hosted on GitHub:
https://github.com/aserebryakov/you-debug-it
License
Changelog
0.1.0
- Initial version supporting only languages that have '//' comments
0.2.0
- Added support for all languages where
commentstringis defined
0.2.1
- Fixed
YouDebugItCleancommand in case ofcommentstring=/*%s*/ - Fixed error in case
YouDebugItCleanis executed beforeYouDebugItStart
0.2.2
- Fixed error on
<CR>pressing when buffer is changed after plugin enabling - Fixed error in case
YouDebugItStopis executed beforeYouDebugItStart
1.0.0
- Added review functionality to simplify the debugging code handling
Credits
- Alexander Serebryakov, author (GitHub)