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

Implement option "Paste lines" #16

Closed
matkovsky opened this issue Sep 23, 2017 · 4 comments
Closed

Implement option "Paste lines" #16

matkovsky opened this issue Sep 23, 2017 · 4 comments
Assignees

Comments

@matkovsky
Copy link

Hello there!

I would love to see the "Improved paste (paste the first three lines of the clipboard data to the three selected locations)" feature to be implemented. This would allow multiline clipboards to be pasted into multicursor locations line-by-line.

This is how it works in Sublime Text:

tp

@jkjustjoshing
Copy link
Owner

This seems to work already in VS Code if the number of lines being pasted equals the number of active cursors. However if the number doesn't match it repeats the entire clipboard for each cursor.

@jkjustjoshing jkjustjoshing self-assigned this Oct 13, 2017
@jkjustjoshing
Copy link
Owner

VS Code does not provide API access to the system clipboard microsoft/vscode#217.

They recommend using something like this https://github.com/xavi-/node-copy-paste. I'll see how feasible this is.

@jkjustjoshing
Copy link
Owner

Implemented in master, should be released before the end of #hacktoberfest

@jkjustjoshing
Copy link
Owner

v1.2.0 released with this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants