vscode-docomment
vscode-docomment copied to clipboard
Problems together with VSCodeVim
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.