oowekyala / intellij-javacc

JavaCC and JJTree grammar support for the IntelliJ Platform

Home Page:https://plugins.jetbrains.com/plugin/11431-javacc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TODO: "nice-to-have"s

oowekyala opened this issue · comments

  • Refactor build.gradle to use the kotlin DSL The kotlin version needs to be supported by the DSL so we'd be stuck on whatever Kotlin version the DSL supports, which is not a good compromise
  • Add a gif or images to the plugin description and README
  • Group tokens by lexical state in structure view
  • Show Java members of the parser in structure view
  • Intentions to switch between [..] and (..)?
  • Safe delete of productions (should consider also usages of the underlying method)
  • "Live preview", to test some part of the parser (eg one production) and inspect the parse tree & the built JJTree node
  • Generating parser files
  • Clear separation between .jjt and .jj files

Greetings!

Would you be interested in supporting a Formatter for JavaCC Grammar?
I have not found anything useful available and the "Format" function in IntelliJ does not seem to do anything (not even showing a "Not supported" message). I have written JSQLFormatter (based on JSQLParser, based on JavaCC) and know how to access the tokens and the productions. I wonder if you would be willing to integrate a Java Library into you plugin for reformatting.

Viele Gruesse von einem Leipziger.