Annoying animation when pasting long string into PowerShell
See original GitHub issuePrerequisites
- I have written a descriptive issue title.
- I have searched all issues to ensure it has not already been reported.
- I have read the troubleshooting guide.
- I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
- I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
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
Name Value
---- -----
PSVersion 7.1.3
PSEdition Core
GitCommitId 7.1.3
OS Darwin 21.1.0 Darwin Kernel Ve…
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visual Studio Code Version
1.63.2
899d46d82c4c95423fb7e10e68eba52050e30ba3
x64
Extension Version
ms-vscode.powershell@2021.12.0
Steps to Reproduce
Just open
Visuals
No response
Logs
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
why does powershell break long strings and add spaces?
It is one string but is displayed broken due to the width setting. Try this: $longstring=' <paste long string her and type the...
Read more >Powershell script indentation for long strings - Stack Overflow
I'd like to share some options in addition to other answers. Joining array of substrings (explicit). Unary -join operator
Read more >How to Fix the Most Annoying Things in Windows - PCMag
Look for HKEYLOCALMACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions and create a key under it called Blocked. Right-click on ...
Read more >How do I get Windows Terminal to stop asking me every time I ...
Everytime I paste something into Windows Terminal I get the following annoying message that's attempting to save me from myself.
Read more >21 Best Command Prompt Tricks - Lifewire
Most Command Prompt commands require you to specify full paths to files or folders, but typing out a long path can be frustrating,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No, it does not happen in a regular
pwsh
console inside and outside of VS Code. PSReadLine is definitely activated: $PROFILE:Thank you, it is much, much better. But on my Raspberry Pi 400 (Debian Bullseye AMD64), the last 5 or 6 chars are still appearing with a delay. This is regardless how long the pasted string is. The first n-6 chars appear instantaneously, the last 6 chars char by char. I will try to make a screen capture later today.