Skip to content

Multiline copy and repeated pasting #230953

Open
@aith85

Description

@aith85

I'd like to be able to replicate what you can do in Sublime Text 4 with multiline copying and pasting.

When copying multiple lines and trying to paste them on exactly a multiple of lines (eg: copy 4 to 8 lines) I'd like the copied lines to be pasted repeatedly on all destination lines.

EG:
Copy these 4 lines

1
2
3
4

Paste them aside these 8 lines:

a
b
c
d
e
f
g
h

Obtain the following:

a1
b2
c3
d4
e1
f2
g3
h4

Unfortunately, VSCode does this:

a1
2
3
4
b1
2
3
4
c1
2
3
4
d1
2
3
4
e1
2
3
4
f1
2
3
4
g1
2
3
4
h1
2
3
4

Metadata

Metadata

Labels

editor-clipboardEditor clipboard issuesfeature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunities

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions