Skip to content

cannot copy with editor drap and drop  #21145

Closed

Description

  • open editor
  • select text and drag
  • press Alt-key
  • drop text somewhere
  • 🐛 text is moved, not copied which pressing Alt while dragging means (at least on mac)

Activity

  1. added
    macos
    on Feb 22, 2017
  2. rebornix commented on Feb 22, 2017

    @rebornix
    Contributor

    I didn't touch this part yet as alt is multi-cursor related. It requires careful testing against edge cases so let's not rush it in this iteration.

    As we try to mimic the browser behavior, this one is a good feature request.

  3. ffes commented on Mar 3, 2017

    @ffes

    As said in #21862

    Apparently on a Mac you use the Alt-key when copying. On Windows it is the Ctrl-key.

    Maybe the labels can be updated for this issue as this is not a 'mac' only issue

    And in that issue I suggested to adjust the mouse cursor while dragging, similar to what Word does.

  4. Tekbr commented on Mar 3, 2017

    @Tekbr

    #21862

    -- Sorry for the English, I used Google Translator --

    Allow to DragAndDrop content to another VSCode tab and to other programs. This is currently not possible. (Without having to click Ctrl)

    By clicking Ctrl it would only copy within the same file, right?

  5. rebornix commented on Mar 6, 2017

    @rebornix
    Contributor

    Since pressing Alt key first and then clicking on a selection might have special meaning later on (eg, aligning column select with Sublime), right now to use this feature:

    • Click on a selection and start dragging
    • Press Alt and hold
    • Drop. The selected text is pasted into the editor without cutting old selection.
  6. added
    feature-request
    verification-needed
    on Mar 6, 2017
  7. Tekbr commented on Mar 8, 2017

    @Tekbr

    -- Sorry for the English, I used Google Translator --

    Peng Lyu (@rebornix) Sorry, but that's not much practice.

    Another thing I'm a Windows user and Ctrl is better than Alt. I think it is possible to do a check of which operating system.

    It would not have like him to interpret by pressing Ctrl (please change this in Windows) and click and start dragging it?

    Another thing .. I still can not drag and drop to another VSCode tab or to another program. Is this in another issue?

  8. litera commented on Mar 9, 2017

    @litera

    This should definitely be implemented as OS specific feature.

    On a Mac one uses Alt while dragging/dropping selection, but on Windows Ctrl is used for the same purpose. It can't simply be unified for both systems as that will be very confusing for users.

  9. rebornix commented on Mar 9, 2017

    @rebornix
    Contributor

    Yes gentlemen, it's Ctrl on Windows now ;) thanks for your feedback.

  10. Tekbr commented on Mar 11, 2017

    @Tekbr

    Peng Lyu (@rebornix)

    Another thing .. I still can not drag and drop to another VSCode tab or to another program. Is this in another issue?

  11. rebornix commented on Apr 11, 2017

    @rebornix
    Contributor

    Tekbr that's actually another feature request, thanks!

  12. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestmacosverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions