you-debug-it


Ⅰ. 插件描述

Vim plugin that helps to track your debug code

Ⅱ. 基本信息

创建日期:  2016-04-02
使用用户:  0
Github星:  2
插件作者:  Alexander Serebryakov

Ⅲ. 安装方法

使用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

Apache License, Version 2.0

Changelog

0.1.0

  • Initial version supporting only languages that have '//' comments

0.2.0

  • Added support for all languages where commentstring is defined

0.2.1

  • Fixed YouDebugItClean command in case of commentstring=/*%s*/
  • Fixed error in case YouDebugItClean is executed before YouDebugItStart

0.2.2

  • Fixed error on <CR> pressing when buffer is changed after plugin enabling
  • Fixed error in case YouDebugItStop is executed before YouDebugItStart

1.0.0

  • Added review functionality to simplify the debugging code handling

Credits

  • Alexander Serebryakov, author (GitHub)

添加新评论