Skip to content

ctrl+d and paste behavior #82850

Closed
Closed

Description

@evheath

Issue Type: Bug

Ctrl+d selects multiple items of the same type; creating multiple cursors

Ctrl+v (paste) no longer pastes at all the cursors
-previously it did
-now it just pastes at initial cursor

VS Code version: Code 1.39.1 (88f15d1, 2019-10-10T23:31:28.683Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1992)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.81GB (8.94GB free)
Process Argv .
Screen Reader no
VM 67%
Extensions (17)
Extension Author (truncated) Version
dart-code Dar 3.5.1
flutter Dar 3.5.1
vscode-eslint dba 1.9.1
dotenv mik 1.0.1
sublime-keybindings ms- 4.0.3
vetur oct 0.22.4
material-icon-theme PKi 3.9.1
java red 0.51.0
rust rus 0.7.0
vsfire tob 1.4.1
vscodeintellicode Vis 1.2.0
vscode-java-debug vsc 0.22.0
vscode-java-dependency vsc 0.6.0
vscode-java-pack vsc 0.8.0
vscode-java-test vsc 0.20.0
vscode-maven vsc 0.19.1
vscode-icons vsc 9.4.0

Activity

  1. vscodebot commented on Oct 18, 2019

    @vscodebot

    (Experimental duplicate detection)
    Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

  2. evheath commented on Oct 18, 2019

    @evheath
    Author

    Also of note:

    Typing at multiple cursors still works just fine.

    If text is copied from multiple cursors then pasted somewhere else, all selections are pasted to first destination cursor

  3. roblourens commented on Oct 18, 2019

    @roblourens
    Member

    I can't repro this. Can you include a video?

  4. evheath commented on Oct 19, 2019

    @evheath
    Author

    Likely a client side issue. After your comment I re-installed and restarted. Problem did not persist.

    This issue can be considered closed

  5. johnquintal commented on Oct 20, 2019

    @johnquintal

    Apologies for commenting on a closed issue. But I can reproduce this so I reinstalled VSCode. The problem persisted. With ALL extensions disabled, the problem goes away. I turned off all my extensions and turned them on one by one to determine if it was an extension causing the problem.

    In MY case it was, at least: Pivotal.vscode-manifest-yaml@1.11.0 extension. As Elliot Heath (@evheath) does not appear to have that extension, I would suggest that some extensions can cause the problem, but, of course, YMMV.

  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 3, 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