Skip to content

update generated parser for Java properties with latest ANTLR runtime version #946

Closed

Description

@martinlippert

This error message appears in the log when opening an application.properties file:
ANTLR Tool version 4.5.3 used for code generation does not match the current runtime version 4.9.3

I think we need to re-generate the parser for Java properties with the ANTLR version that we use in the dependencies, which seems to be 4.9.3.

Activity

  1. added
    for: eclipse
    for: vscode
    on Jan 9, 2023
  2. added this to the 4.17.2.RELEASE milestone on Jan 9, 2023
  3. BoykoAlex commented on Jan 9, 2023

    @BoykoAlex
    Contributor

    @martinlippert I had an idea of switching to OR Properties parser and AST.

  4. martinlippert commented on Jan 10, 2023

    @martinlippert
    MemberAuthor

    What will be the difference? I haven't looked into the details yet, but re-using a properties parser sounds like a good idea instead of keeping our own up-to-date. But we should make sure that the switch to a new parser doesn't affect the coding experience here. I have things like fault-tolerant parsing in mind here. WDYT?

  5. BoykoAlex commented on Jan 11, 2023

    @BoykoAlex
    Contributor

    Fixed with 39de9aa
    Rewrite parser rather than our own is moved to: #949

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodetheme: property-editing-supporttype: enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions