-
Notifications
You must be signed in to change notification settings - Fork 143
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
Change color for cmd command? #613
Comments
What is the specific text in I'm guessing that it isn't a program, and instead it's a CMD command like |
"c:\Users\victo.vscode\extensions\ms-vscode.cpptools-1.20.5-win32-x64\debugAdapters\bin\WindowsDebugLauncher.exe --stdin=Microsoft-MIEngine-In-cjnjhnqy.ovv --stdout=Microsoft-MIEngine-Out-mxax5mwy.zip --stderr=Microsoft-MIEngine-Error-ka2yim3k.5no --pid=Microsoft-MIEngine-Pid-jfms5ffr.104 --dbgExe=C:\msys64\ucrt64\bin\gdb.exe --interpreter=mi" This. When I run c++ files. |
Ah ok, thanks. The issue here isn't the color, it's the parser that's running on the text after (Interestingly, in the cited example, the quotes aren't needed. But the parser needs to better handle when quotes are present.) The problem in the parser is that CMD can end up treating I'll work on a fix. You can |
Thank you for your support. |
Yes, but I wanted to warn you that it affects more than just |
And here are some quirky cases:
This is because CMD has a bunch of special case rules for whether to strip a pair of quotes after That makes it quite difficult to accurately parse an input line that contains |
It's way too convoluted to try to parse all the edge case and nested weirdnesses. So instead, I've made it simply disable input line coloring by argmatchers for the rest of the line if the next thing after (It doesn't disable all input line coloring, it just applies the |
When I run the cmd /C "commands here" command, the text in the quotes is red, which is very misleading because it is not an error, how can I change the color for whatever is in the quotes?
The text was updated successfully, but these errors were encountered: