-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Ctrl+C/Ctrl+V on empty selection no longer duplicates line #241164
Comments
Hi thank you for filing this issue. I tested on the given file and the given commit. The pasted text looks correct? I am not sure if I quite understood the issue. Screen.Recording.2025-02-19.at.09.43.32.mov |
I don't know why,.. but I just drop this here. What is happening with copy/paste??? It's messed up since 1.97.0... |
Hi @0x78f1935 thank you for filing this issue. I am not sure if these are related as in your case, you are copying from the debug hover, the current issue is about the core editor. Thank you for letting me know however! |
Hi @aiday-mar , No problem! I have seen more issues about copy paste in various sections, especially after 1.97.0. I'm also not sure if those are related but it definitely stands out that there is an issue with how copy/paste is being handled within VSC after 1.97.0. |
@aiday-mar the bug is that with empty selection the line should duplicate and not break in the middle. |
Caused by ae77c3f |
I can only repo in large projects. I suspect this is timing related. ae77c3f makes it so that you can hit this issue more often if TS is slow, but it could have happened before too Looking into a fix |
Steps to Reproduce:
https://github.com/microsoft/vscode/blob/6600b07e5c619c98bf1cdb2984c3f5f901fc9952/extensions/vscode-api-tests/src/singlefolder-tests/workspace.fs.test.ts#L269
strictEqual
somewhere without selecting=> 🐛
Bisect: fe4d6a8...2ef2dbd
The text was updated successfully, but these errors were encountered: