Skip to content

Multiline paste doesn't work anymore #43722

Closed
microsoft/azuredatastudio
#7206
@sylvaingirardbe

Description

@sylvaingirardbe
  • 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.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugeditor-clipboardEditor clipboard issueseditor-multicursorEditor multiple cursor issuesverifiedVerification succeededwindowsVS Code on Windows issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions