-
Notifications
You must be signed in to change notification settings - Fork 508
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
Annoying animation when pasting long string into PowerShell #3756
Comments
Thanks so much for your issue @kkshinkai , it appears that this is actually a performance issue where the underlying calls to PSReadline delay the pasting in a way that makes it appear as an animation... I will mark this as a performance issue |
It would also be great if you could try our preview extension as some of the performance improvements released there may solve this issue |
Hi, I have the same issue on my Raspberry Pi 400 running Debian Bullseye ARM64. I also tried the preview extension, but sadly, pasting stuff is still as slow as the release extension. PowerShell Version
VSCode Version
Extension Version
|
I don't have this issue when pasting on Windows, perhaps it is MacOS specific? I believe the vscode terminal implementations use different VTYs between MacOS and Windows. Does this happen in a regular terminal too e.g. bash? Capture.mp4 |
It also happens on Linux (Debian 11). And no, using a regular terminal like bash or a raw powershell terminal (not the Powershell Integrated Console) works fine. I tried my Windows machine, and you are correct, on Windows the Integrated Console is extremely fast and does not have the same issue. |
Hi there, we just released v2022.4.0-preview! Could you please try PowerShell Preview for VS Code and verify this is fixed? It seemed to be in my testing, so marking as resolved, but please let me know if it's still occurs (or if new bugs show up)! |
This was an ancient bug that was really annoying and I am super happy to see it fixed. |
This issue has been marked as fixed. It has been automatically closed for housekeeping purposes. |
Thank you, it is much, much better. |
Sorry for the shakiness. But I could not capture the slowness using a screen recorder. I hope you can still see my issue: |
Woah, that's so interesting. At this point, we are quite literally only calling .NET's |
No, it does not happen in a regular
|
Prerequisites
Summary
I've had this problem since I started using PowerShell. When I try to paste a long string (usually a path) into PowerShell, it always plays a typewriter animation and I have to wait until it's done.
I am not confident that the problem is with this plugin, but PowerShell works fine after I disabling it, so I guess it's not a VSCode or terminal issue. The
Terminal.app
that comes with macOS is also fine.Is there any way we could remove this animation? This is almost the only reason I don't use PowerShell.
PowerShell Version
Visual Studio Code Version
Extension Version
[email protected]
Steps to Reproduce
Just open
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: