Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line Paste between Files bug #43012

Closed
cpmcgrath opened this issue Feb 6, 2018 · 3 comments
Closed

Line Paste between Files bug #43012

cpmcgrath opened this issue Feb 6, 2018 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug editor-clipboard Editor clipboard issues verified Verification succeeded
Milestone

Comments

@cpmcgrath
Copy link

  • VSCode Version: Code 1.19.3 (7c4205b, 2018-01-25T10:36:34.867Z)
  • OS Version: Windows_NT x64 10.0.16299
  • Extensions: Extensions are disabled

Steps to Reproduce:

  1. Do a Line Copy (Ctrl + c when no selection is made)
  2. Navigate to a different file
  3. Paste the Line (Ctrl + v, without any selection)

Expected behaviour:
The Copied Line is pasted above the current line, as it does if you pasted it in the origin file.

Actual behaviour:
It pastes the line at your caret position which could be in the middle of a word.

@vscodebot vscodebot bot added editor editor-clipboard Editor clipboard issues labels Feb 6, 2018
@cpmcgrath
Copy link
Author

In Version 1.20.0 This seems to be fixed within a window, but if I have two windows open copy a line from one to another causes the same bug.

@rebornix rebornix added the bug Issue identified by VS Code Team member as probable bug label Sep 18, 2018
@ddehghan
Copy link

@cpmcgrath i am pretty sure this is not fixed. it still happens in the same file or different file. the core problem is that they are copying the \n. see #61840

@alexdima alexdima assigned alexdima and unassigned rebornix Oct 17, 2019
@alexdima alexdima added this to the October 2019 milestone Oct 17, 2019
@alexdima
Copy link
Member

To the verifier:

Please try empty selection (full line) ctrl+c, ctrl+v across VS Code windows. This should work now because we write vscode specific data to the clipboard. The same covers multiple cursors (copy with N cursors, paste with N cursors in a different window).

@miguelsolorio miguelsolorio added the verified Verification succeeded label Oct 30, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug editor-clipboard Editor clipboard issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

5 participants