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

Add option to disable multi cursor "spread" paste #80624

Closed
alexdima opened this issue Sep 10, 2019 · 6 comments · Fixed by microsoft/azuredatastudio#7206
Closed

Add option to disable multi cursor "spread" paste #80624

alexdima opened this issue Sep 10, 2019 · 6 comments · Fixed by microsoft/azuredatastudio#7206
Assignees
Labels
editor-commands Editor text manipulation commands feature-request Request for new features or functionality verification-needed Verification of issue is requested verified Verification succeeded

Comments

@alexdima
Copy link
Member

alexdima commented Sep 10, 2019

When having multi line text in the clipboard and pasting, VS Code will check if the clipboard text line count matches the cursor count, and if it does, it will "distribute" each line to a cursor.

  • Copy the following text to the clipboard:
Line 1
Line 2
Line 3
  • Create 3 cursors (to match the line count)
  • Paste

80624


Add an option to disable this "distributed" paste:
80624-2

@alexdima alexdima self-assigned this Sep 10, 2019
@alexdima alexdima added the feature-request Request for new features or functionality label Sep 10, 2019
@alexdima alexdima added this to the September 2019 milestone Sep 10, 2019
@alexdima alexdima added the editor-commands Editor text manipulation commands label Sep 10, 2019
@alexdima
Copy link
Member Author

alexdima commented Sep 10, 2019

The option is called editor.multiCursorPaste and can have the value spread or full. spread is the default to maintain compatibility with the current behavior.

image

@rshakerov
Copy link

rshakerov commented Oct 18, 2019

Hi, seems like spread in Multi Cursor Paste does not work any more as of 1.39.2.
Any option behaves like full. Could you please check it?

@alexdima
Copy link
Member Author

@rshakerov Can you please open a new issue with precise steps? I have checked and IMHO the spread behaves fine.

@randre70
Copy link

@rshakerov Did you solve your issue? @alexandrudima I have the same issue: multiCursorPaste "spread" is not working in 1.39.2 (Windows).

@alexdima
Copy link
Member Author

@randre70 Please open a new issue with precise steps.

@rshakerov
Copy link

@rshakerov Did you solve your issue? @alexandrudima I have the same issue: multiCursorPaste "spread" is not working in 1.39.2 (Windows).

Yes, after restarting VS Code it came back to normal.

@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
editor-commands Editor text manipulation commands feature-request Request for new features or functionality verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants