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

New line added when pasting #34

Open
adam-rocska opened this issue Nov 2, 2023 · 1 comment
Open

New line added when pasting #34

adam-rocska opened this issue Nov 2, 2023 · 1 comment

Comments

@adam-rocska
Copy link
Collaborator

I'm really sorry but I don't know how to provide repro-steps.

I've been happily using this extension for a few days now, but today all of a sudden it started to add new lines whenever I paste anything anywhere. Even in comments.

What I do know is that the bug itself is pretty evasive. It comes up occasionally, annoys me for 15-20 minutes then it's gone again.

I'll keep this ticket updated if I finally figure out how to reproduce it, or if it's not a big deal, could also land a PR.

@vknabel if you have any blind guess what might be happening, you could save the remaining survivor neurons in my brain.

@adam-rocska
Copy link
Collaborator Author

@vknabel I FINALLY GOT IT! Here's how to reproduce the bug :)

Have the "Editor: Format on paste" option enabled. It is consistently reproducible this way on my local machine even with a totally virgin VSCode.

Képernyőfotó 2024-02-06 - 12 46 01

I've disabled this feature for now on my setup, but I really love the format on paste :(

I hope it helps!

P.S.: If I'll have time to try to address the issue myself, I will.

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

1 participant