RedCMD

Results 231 comments of RedCMD

a bunch of the regexes have extra erroneous backslashes https://github.com/bird-chinese-community/BIRD-tm-language-grammar/blob/c39653d00f6337f9fe4ba9c75f403c29dbec3907/grammars/bird2.tmLanguage.json#L558

here's my VSCode extension to help with authoring TextMate grammars https://marketplace.visualstudio.com/items?itemName=RedCMD.tmlanguage-syntax-highlighter

note: this is issue is not present in VSCode because VSCode's `while` is a lot more strict than Github's/TextMate's so embedded languages are unable to break out of the codeblock's...

it's only a warning, not a error as long as any one other include within the patterns array succeeds here's my VSCode extension to help with authoring TextMate grammars https://marketplace.visualstudio.com/items?itemName=RedCMD.tmlanguage-syntax-highlighter

this is what VSCode TypeScript uses https://github.com/microsoft/vscode/blob/42ec991f0de1d447693654cf2a77b20f3e7aa616/extensions/typescript-basics/language-configuration.json#L130-L144 https://www.reddit.com/r/vscode/comments/1ka6nd0/how_do_you_make_vs_code_deindent_python_ending/

TextMate does support that use (capture groups) and backreferences `\\1` ```json textmate "begin": "\"\"\"", "end": "\\0(?!\")", "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.scala" } }, "endCaptures": { "0": { "name": "punctuation.definition.string.end.scala"...

what language?

seeing that none of your installed extensions provide syntax highlighting for Apex I suggest you find and download an extension for Apex syntax highlighting you prob disabled [`salesforce.salesforcedx-vscode-apex`](https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode-apex)

![Image](https://github.com/user-attachments/assets/2b11669f-aa8d-49d0-848b-0c7b0fc6be14) ```c++ if (a == b) { if (a == b) { if (a == b) { if (a == b) { if (a == b) { if (a ==...