prettier-standard-vscode
prettier-standard-vscode copied to clipboard
adds newline after select + pasting (replacing with paste)
I have no other linter -- no beautify, eslint, etc. When I enable this plugin, and follow these steps:
- create the document:
from here
to here
- select and copy 'from'
- select 'to' and paste
the result is:
from here
from
here
if I disable, and reload VSC, this behavior goes away. if I then reenable, the behavior does not return on first paste, but on subsequent pastes, it does.
-- in certain instances, the paste result is prefixed by a semicolon.. this I think happens when pasting over the entire line
Also happens with me. Was working perfectly until today, when those new lines started appearing with each paste. I have this exactly same issue, word by word as reported.
Here is some workaround:
I guess that all good developers hit CTRL+S each few seconds, so there is no real need for formatting on paste (hence, probably, this bug existing for almost 2 years with no solution).