My Parser rules document had no formatting comment directives.
I attempted to apply the following formatting comments
// $antlr-format reset
// $antlr-format on
// $antlr-format columnLimit 180, minEmptyLines 0, maxEmptyLinesToKeep 3, useTab false
// $antlr-format alignColons hanging, alignSemicolons hanging
// $antlr-format alignLexerCommands true, alignLabels true, alignTrailers true
// $antlr-format allowShortRulesOnASingleLine false, allowShortBlocksOnASingleLine true
// $antlr-format reflowComments false
and reformatting the document and saving the result the VS code plugin reported 5 errors were found at [Ln 1, Col 1]
[Internal Error] Unhandled error message (code 50, message: syntax error: mismatched character '=' expecting '{'
Please file a bug report at https://github.com/mike-lischke/vscode-antlr4/issues)
The VS Code plugin details:
Installation Identifier : mike-lischke.vscode-antlr4
Version : 2.4.7
Last Updated : 2024-09-05, 11:41:27
My Parser rules document had no formatting comment directives.
I attempted to apply the following formatting comments
and reformatting the document and saving the result the VS code plugin reported 5 errors were found at
[Ln 1, Col 1]The VS Code plugin details: