Fixed bug #242 Visual parse tree not showing for version 2.4.5
v2.4.3
5 months ago
Updated 3rd party dependencies.
Extracted the formatter into an own Node.js package for broader use.
Added new animation to call graphs, which highlights (in steps) which rule calls another rule. This is an implementation from Garry Miller.
Fixed bug #134 alignColons formatting setting affects semicolon on first line
Fixed bug #151: Formatting comments adds empty lines in some situations
Fixed bug #150: Language server fails to accept 'fail' option after semantic predicate.
Added support for predicate options.
Fixed bug #180: How to pass multi CLI arguments to antlr?
Fixed bug #182: Setting no generation language should not automatically apply Java as default
Fixed bug #210: RangeError: Maximum call stack size exceeded
Added a check to avoid endless recursion if a grammar uses itself as token vocabulary.
Added a new semantic check for this (erroneous situation).
Interpreter data is now also regenerated on start of the extension, if the grammar is newer than existing data and diagnostic checks are executed on startup.
Fixed bug #235: Extension does not work on Windows
v2.4.0
7 months ago
Switched to a new TypeScript runtime (antlr4ng), which supports the latest features from ANTLR4 (e.g. case sensitive identifiers).
Fixed bug #195: Extension breaks if filename ends with Parser
Fixed bug #197: Use lexer token labels when generating tokens in debug console
Fixed bugs in the formatter (last token removal and wrong action with copy/paste).
Fixed a bug in the ATN graph renderer, where rule name + index were not properly updated, when navigating between rules.
Railroad diagrams received a big overhaul:
Updated to latest version of the generation script.
Added a button for exporting all diagrams in the all-rules list to individual SVG files.
Added a new option to specify a character length in a line, after which an path is wrapped. This is useful for long alternatives.
All CSS rules (including custom ones) are now inlined into exported SVG files, to avoid CSP problems.
The all-rules list can now be filtered by typing a regular expression and only the visible diagrams are exported.
A new option allows to strip out a part of rule names (e.g. a common _SYMBOL suffix), while rendering the SVG.