vscode-docomment icon indicating copy to clipboard operation
vscode-docomment copied to clipboard

Problems together with VSCodeVim

Open xlaech opened this issue 7 years ago • 0 comments

If you use the plugin together with VSCodeVim, you can get some strange behaviour.

Example:

  • Copy a comment using Visual Line Selection [V, SomeArrowKeys, y]
  • go to an uncommented function and copy the register [p]

Problem:

  • The VSCodeVim plugin will insert its selection
  • The vscode-docomment plugin will also insert a new empty comment (probably because the old insertion contains "///" :)

The only "workaround" atm is, that the vim plugins undo history is not the same at vscode ones. So you can just press ctrl+z to undo the unwanted insertion.

xlaech avatar May 22 '17 01:05 xlaech