Skip to content

Multicursor - on paste  #83063

Closed
Closed

Description

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.

Activity

  1. gletthereblight commented on Oct 22, 2019

    @gletthereblight

    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.

  2. ruffson commented on Oct 22, 2019

    @ruffson

    Same issue here. On 1.39.2.

  3. dhairyanadapara commented on Oct 22, 2019

    @dhairyanadapara
    Contributor

    Gregoire Cousin (@gregcousin126) can you please share steps to reproduce it. The video will help more to understand the issue. Thanks

  4. peterneely commented on Oct 22, 2019

    @peterneely

    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

  5. ruffson commented on Oct 22, 2019

    @ruffson

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

    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

  6. alexdima commented on Oct 22, 2019

    @alexdima
    Member

    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.

  7. locked and limited conversation to collaborators on Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*caused-by-extensionIssue identified to be caused by an extension

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions