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

Bad multi cursor paste behaviour #213989

Open
isidorn opened this issue May 31, 2024 · 5 comments
Open

Bad multi cursor paste behaviour #213989

isidorn opened this issue May 31, 2024 · 5 comments
Assignees

Comments

@isidorn
Copy link
Contributor

isidorn commented May 31, 2024

Have a document, for example with the following content

first 

first 

first

Select "first" and press ctrl+D, such that there is a cursor on each instance.

Have some content in your clipboard, for example

if (err instanceof vscode.LanguageModelError) {
                    console.log(err.message, err.code, err.cause)
                }

Paste. Notice that there is only one copy of the pasted content. There should be 3 (for each cursor) 🐛
This gets a bit more obscure with real life examples.

I can reproduce with Stable, so this might be intended behavior / older bug. I just do not find it practical and it breaks my flow.

@gjsjohnmurray
Copy link
Contributor

What is your editor.multiCursorPaste setting?

@isidorn
Copy link
Contributor Author

isidorn commented May 31, 2024

@gjsjohnmurray good point editor.multiCursorPaste is to spread.
So I guess my point is that it should be full by default.

@gjsjohnmurray have you noticed other users struggling with this? Or am I the first?

@gjsjohnmurray
Copy link
Contributor

@gjsjohnmurray have you noticed other users struggling with this? Or am I the first?

I haven't noticed this come up before. And changing a default can be unpopular.

@hediet
Copy link
Member

hediet commented Jun 3, 2024

Joao reported a similar issue some days ago (which I closed).

@isidorn
Copy link
Contributor Author

isidorn commented Jun 3, 2024

cc @joaomoreno to get his thoughts on this.

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

3 participants