Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds newline after select + pasting (replacing with paste) #19

Open
robbiemu opened this issue Feb 13, 2019 · 2 comments
Open

adds newline after select + pasting (replacing with paste) #19

robbiemu opened this issue Feb 13, 2019 · 2 comments

Comments

@robbiemu
Copy link

robbiemu commented Feb 13, 2019

I have no other linter -- no beautify, eslint, etc. When I enable this plugin, and follow these steps:

  1. create the document:
from here
to here
  1. select and copy 'from'
  2. 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

@ropinheiro
Copy link

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.

@ropinheiro
Copy link

Here is some workaround:

image

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants