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

Multiline paste doesn't work anymore #43722

Closed
sylvaingirardbe opened this issue Feb 15, 2018 · 1 comment · Fixed by microsoft/azuredatastudio#7206
Closed

Multiline paste doesn't work anymore #43722

sylvaingirardbe opened this issue Feb 15, 2018 · 1 comment · Fixed by microsoft/azuredatastudio#7206
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug editor-clipboard Editor clipboard issues editor-multicursor Editor multiple cursor issues verified Verification succeeded windows VS Code on Windows issues

Comments

@sylvaingirardbe
Copy link

sylvaingirardbe commented Feb 15, 2018

  • VSCode Version: 1.20
  • OS Version: Windows 10

Steps to Reproduce:

  1. Create a file containing these lines:
    new ReferenceData({id: '59A161DB-DF77-403A-9E5A-0EA2EC648749', title: 'Agentschap integratie en inburgering', type: ReferenceDataType.AssetOwner}),
    new ReferenceData({id: '59A161DB-DF77-403A-9E5A-0EA2EC648749', title: 'Agentschap plantentuin Meise', type: ReferenceDataType.AssetOwner}),
    new ReferenceData({id: '59A161DB-DF77-403A-9E5A-0EA2EC648749', title: 'Aquafin', type: ReferenceDataType.AssetOwner}),
    new ReferenceData({id: '59A161DB-DF77-403A-9E5A-0EA2EC648749', title: 'BAM', type: ReferenceDataType.AssetOwner}),
    new ReferenceData({id: '59A161DB-DF77-403A-9E5A-0EA2EC648749', title: 'BCW', type: ReferenceDataType.AssetOwner}),
    new ReferenceData({id: '59A161DB-DF77-403A-9E5A-0EA2EC648749', title: 'B.I.P.', type: ReferenceDataType.AssetOwner}),
    new ReferenceData({id: '59A161DB-DF77-403A-9E5A-0EA2EC648749', title: 'de Rand', type: ReferenceDataType.AssetOwner}),
    new ReferenceData({id: '59A161DB-DF77-403A-9E5A-0EA2EC648749', title: 'De Watergroep', type: ReferenceDataType.AssetOwner})
  1. Run this query from SQL Server Management Studio and have the results output to grid
SELECT newid()
UNION
SELECT newid()
UNION
SELECT newid()
UNION
SELECT newid()
UNION
SELECT newid()
UNION
SELECT newid()
UNION
SELECT newid()
UNION
SELECT newid()
  1. Select the result and copy them
  2. Multiline select the GUIDs in VS Code
  3. Paste the results from the query in VS Code

Does this issue occur when all extensions are disabled?: Yes

This used to work in previous versions, now the clipboard is pasted completely on each selected line, much like VS does it, unfortunately.

@vscodebot vscodebot bot added the editor label Feb 15, 2018
@rebornix rebornix added bug Issue identified by VS Code Team member as probable bug editor-clipboard Editor clipboard issues and removed editor labels Sep 5, 2018
@alexdima alexdima added editor-multicursor Editor multiple cursor issues and removed bug Issue identified by VS Code Team member as probable bug labels Aug 8, 2019
@alexdima alexdima self-assigned this Aug 8, 2019
@alexdima alexdima added this to the August 2019 milestone Aug 8, 2019
@alexdima alexdima modified the milestones: August 2019, September 2019 Aug 26, 2019
@alexdima alexdima added the windows VS Code on Windows issues label Sep 10, 2019
@alexdima alexdima added the bug Issue identified by VS Code Team member as probable bug label Sep 10, 2019
@alexdima
Copy link
Member

This was reproducible only on Windows because the clipboard would have ended in \r\n and \r was not trimmed...

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 editor-multicursor Editor multiple cursor issues verified Verification succeeded windows VS Code on Windows issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants