Windows: Allow Pasting Multi-Line Scripts/Functions into the Terminal Window #92021
Labels
feature-request
Request for new features or functionality
terminal
Integrated terminal issues
verification-needed
Verification of issue is requested
verified
Verification succeeded
Milestone
OS: Windows 10 build 18362
VSCode: 1.42.1
Powershell: 5.1 and core 7.0.r3
When Pasting a multiline function or script into the terminal window within VSCode it appears to have hard line breaks even though powershell supports code block pasting natively.
for example, if you paste the following function into the terminal within vscode, it will complain that it is missing a closing } since it is not on the end of line 1. however if you paste it into the native powershell console (regardless of version) it handles the line continuation properly.
example function provided will not run in PSCore as it is unable to import the System.Web Assembly. but you can test with any function, the result is the same.
The text was updated successfully, but these errors were encountered: