related bug: https://github.com/Microsoft/vscode/issues/40695
Steps to Reproduce:
This is the default behavior of IntelliJ and PyCharm and it is really convenient. Copying one line of text generally means only the content of that line no the \n at the end.
Does this issue occur when all extensions are disabled?: Yes. same result without any extensions.
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
Not all editors behave the same in this case. I think perhaps an option could be introduced to tweak the behaviour.
@alexdima Any progress on this? I would like an option to disable adding new line on paste. It takes a lot of time to remove the new line after paste.
@yubaoquan Can my answer on stack help ?
@yubaoquan Can my answer on stack help ?
I've read this answer, but I dont want to remember a new key combination. What's more, it will import more key presses since I copy line a lot during coding.
Thanks.
I am pretty sure that in the past, when I copied a line without selection, then pasted that, then a new line would get pasted, but after the cursor position. That made sense and I was happy.
Now for some reason the pasted line appears above and that's really weird.
E.g.:
222 <CURSOR>
333
Expected result:
222
<COPIED LINE>
333
Actual result:
<COPIED LINE> <--- Why here?!
222
333
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
Hi and thank you. Before I vote, can I see a final confirmation of what I'm voting for?
Most helpful comment
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!