Skip to content

Releases: oowekyala/intellij-javacc

v1.12.1

15 Nov 15:49
3c737d6
Compare
Choose a tag to compare

This is a bugfix release to fix various exceptions thrown when the IDE starts (#31).

v1.11

23 Jun 20:08
57e0606
Compare
Choose a tag to compare

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

02 Jul 18:03
e4cf9db
Compare
Choose a tag to compare

What's fixed:

  • #23: Warnings from IDEA about duplicate display names

Full Changelog: v1.9...v1.10

v1.9

24 Mar 22:04
aa426e8
Compare
Choose a tag to compare

What's fixed:

  • #22: JccDescriptionProvider overrides description of other plugins' types

Full Changelog: v1.8...v1.9

v1.8

30 Apr 10:44
Compare
Choose a tag to compare

What's new:

  • Upgrade to Intellij 2021.1 as minimum version

What's fixed:

  • NPE in language injection (#19)

v1.7

20 Sep 16:22
Compare
Choose a tag to compare

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:

  • False positive of BnfStringCanNeverBeMatched (#17)
  • False positive for special token reference inside another regex (#18)
  • Big cleanup of the codebase

v1.6

29 Jan 12:17
Compare
Choose a tag to compare

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

17 Jan 03:38
Compare
Choose a tag to compare

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

23 May 23:42
Compare
Choose a tag to compare

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 have A. 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.

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

23 May 19:53
Compare
Choose a tag to compare

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"