Terminal Chat code-insert button sometimes inserts entirely commented-out code #18186
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Windows Terminal version
1.23.3171.0
Windows build number
10.0.26120.0
Other Software
Steps to reproduce
#
).Expected Behavior
Possible options:
Actual Behavior
When there is multi-line code with a leading single-line comment inserted, the code (including comments) are inserted as all one line, meaning that the first comment comments out the entirety of the command, leaving no actual commands.
The code can be manually modified to remove comments, but this greatly takes away from the convenience of just being able to click the code-insert button and have working code just run.
The text was updated successfully, but these errors were encountered: