spadgos / sublime-jsdocs

Simplifies writing DocBlock comments in Javascript, PHP, CoffeeScript, Actionscript, C & C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Alt+Q` destroys file, can't fix with undo

eweitnauer opened this issue · comments

If in javascript I place my cursor in a comment like this:

/** My custom styled comment with
 * two lines. */

and press Alt-Q, everything in the file up to the comment gets deleted. Even worse, when I use the undo function, I go back to a state with my whole file again, but the comment destroyed.

Please either support the above more concise style of writting block comments, or don't work on them at all. Destroying the file without a way to undo the change is a serious show-stopper.

Other than this I love the plugin!