Releases: oowekyala/intellij-javacc
Releases · oowekyala/intellij-javacc
v1.12.1
v1.11
What's changed:
- Bump required IntelliJ version to 2023.1
What's fixed:
- #25 - NoSuchElementException: Sequence contains no element matching the predicate
- #20 - Undefined token errors with user token manager. Undefined tokens are now ignored if the USER_TOKEN_MANAGER option is present.
- #27 - INCLUDE is not lexed as an identifier anymore.
- Dependency updates
Cheers!
v1.10
v1.9
v1.8
v1.7
What's new:
- Java members declared in the parser declaration are now part of the structure view
- Parser support for annotations on production parameters (#16)
- Upgrade to Intellij 2020.1 as minimum version
What's fixed:
v1.6
What's new:
- Improvements specific to JavaCC 8.0 (better linking from parser methods to grammar)
- Minimal support for JavaCC 21
What's fixed:
- JJTree descriptor completion with #void, self completion
- Quick definition view not showing productions in full
- #15: Fatal Error for IDEA 2020.1
- Performance warning for some line markers
- Error with reference targets
v1.5
What's new:
- Add code completion for JJTree annotations
- Add intention to check a token regular expression against a sample text
- Updated to API version 2019.3.1
What's fixed:
- Add title to configuration options
- Better resilience to mistyped Jjtree annotations
- Fix private regexes defined in eg SPECIAL_TOKEN being reported as inaccessible
- Fix jump to methods defined in parser (in injected fragments)
v1.4
What's new:
- FIRST sets of productions are now available in the quickdoc, to
help you optimise your lookaheads. There are two new sections in the
doc:
- Condensed FIRST set: This is a set of tokens and productions
that is equivalent to the full FIRST set below. If some productions
in the FIRST set may yield at most one token, then they are not expanded.
So if you have a production
A := "b" | "c"
in the FIRST set, instead of having"b"
and"c"
in the resulting set, you haveA
. This can dramatically shorten this section for big grammars. - FIRST set: This is the fully expanded set of tokens. Note that JAVACODE productions are included there since we can't break them down.
- Condensed FIRST set: This is a set of tokens and productions
that is equivalent to the full FIRST set below. If some productions
in the FIRST set may yield at most one token, then they are not expanded.
So if you have a production
What's fixed:
- Tokens like
"<"
being invisible in the quick documentation because no HTML escaping was performed. - Parentheses between two scoped expansion units are not unnecessary, eg
( "foo" #Foo ) #Bar
- Some empty parser actions blocks are not unnecessary, specifically when they occur as the last expansion of a JJTree node scope and are preceded by another parser actions unit. This is because JJTree inserts the code for closing the node before the last parser action, so eg the node condition can't be affected anymore in the last unit.
- Similarly, some consecutive parser actions blocks can't be merged.
v1.3
What's new:
- Gutter link from productions to their parser method, and vice-versa
- Code folding can now be disabled selectively in Editor > General > Code Folding
What's changed:
- Suppression IDs of inspections now don't have the "JavaCC" prefix unless they collide with another inspection
What's fixed:
- Invoking the Rename action on a JJTree node descriptor now renames all instances of the name in the grammar
- The suppression ID of UnusedProduction was "JavaCCJccUnusedProduction"