language-batchfile icon indicating copy to clipboard operation
language-batchfile copied to clipboard

Batch Syntax Highlighting - support multiline comments with `::` and `^`

Open Andrej730 opened this issue 1 year ago • 0 comments

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:

  1. 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.
  1. See the syntax highlight, lines echo hi, it's still multiline comment ^ and and still... are not greyed out as comments though they kind of are. image

Andrej730 avatar Nov 18 '24 06:11 Andrej730