language-batchfile
language-batchfile copied to clipboard
Batch Syntax Highlighting - support multiline comments with `::` and `^`
Crossposting from https://github.com/microsoft/vscode/issues/223115 as this seems to be the source for cmd syntax highlighting in VS Code.
Steps to Reproduce:
- There is a way to create multiline comments in batch files by combining
::and^(to create multiline commands).
:: multiline comment ^
echo hi, it's still multiline comment ^
and still...
@echo it's printed as multiline comment is over.
- See the syntax highlight, lines
echo hi, it's still multiline comment ^andand still...are not greyed out as comments though they kind of are.