You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem with my vscode. when i try to copy multiple lines and paste them onto the editor it wont paste the multiple lines in any other way than paste the copied lines on the first cursor. even if i copy one word and then use the multicursor tool to select/highlight multiple sequences of the same word and try to paste what i copied... it will only copy the word on the first cursor selected.
Seems to be a problem on macos and linux.
Maybe an extension is causing this?
Here I selected several lines and try to paste 1. Then, I just type a 2 which works fine and then I delete the 2s and try again to paste the 1 again. You can see that only in the last line code gets pasted.
This seems to be caused by the redhat.java extension which overrides the paste implementation here. I have opened an issue directly against the extension.
Possible workarounds: configure "java.actionsOnPaste.organizeImports": false or disable/uninstall the redhat.java extension.
Reacted by Gregoire Cousin, Melissa Hansen and Vito Macchia
Activity
vscodebot commentedon Oct 22, 2019
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
gletthereblight commentedon Oct 22, 2019
Me either,I also discovered it earlier. #83057 is my issues,but in Chinese.This is the same problem,especially affecting me to write sql code.
ruffson commentedon Oct 22, 2019
Same issue here. On
1.39.2.dhairyanadapara commentedon Oct 22, 2019
Gregoire Cousin (@gregcousin126) can you please share steps to reproduce it. The video will help more to understand the issue. Thanks
peterneely commentedon Oct 22, 2019
I had this problem too. The "language support for java" extension was causing it. When I disabled it, no more drunken copy/paste. https://marketplace.visualstudio.com/items?itemName=redhat.java
ruffson commentedon Oct 22, 2019
Dhairya Nadapara (@dhairyanadapara)
Seems to be a problem on macos and linux.
Maybe an extension is causing this?
Here I selected several lines and try to paste
1. Then, I just type a2which works fine and then I delete the 2s and try again to paste the1again. You can see that only in the last line code gets pasted.edit: Peter Neely (@peterneely) is right, disabling that extension worked for me too.
2nd edit: Here is the issue in their repository: redhat-developer/vscode-java#1112
alexdima commentedon Oct 22, 2019
This seems to be caused by the
redhat.javaextension which overrides the paste implementation here. I have opened an issue directly against the extension.Possible workarounds: configure
"java.actionsOnPaste.organizeImports": falseor disable/uninstall theredhat.javaextension.