oowekyala / intellij-javacc

JavaCC and JJTree grammar support for the IntelliJ Platform
https://plugins.jetbrains.com/plugin/11431-javacc
MIT License
44 stars 6 forks source link

Nullability annotations not recognized by the plugin #16

Closed hiteshsharma closed 3 years ago

hiteshsharma commented 4 years ago

Hi,

The grammar I wrote annotates parameters passed to nodes with Javax Nullability annotations to allow other developers to know the expectation for that param. Though the parser works fine, the IntelliJ plugin shows an error near the annotation and fails to parse rest of the grammar. Can support for Nullability annotations be added in this plugin?

void someNode(@Nullable String someString): {}
{
  // grammar
}

Thanks

oowekyala commented 4 years ago

Thanks for the report, I'll try to work on that this week

hiteshsharma commented 4 years ago

Thanks. I would be happy to help. Let me know if I can help.

On Sun, Aug 9, 2020 at 11:21 PM Clément Fournier notifications@github.com wrote:

Thanks for the report, I'll try to work on that this week

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/oowekyala/intellij-javacc/issues/16#issuecomment-671182779, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANCQNCWZVEEFSMXFVMKSFTR76GVHANCNFSM4PZOH7YQ .

oowekyala commented 4 years ago

I appreciate the thought! But the project is a real hassle to setup inside an IDE for now as it uses a non-standard module organization... I think, it's not worth your time setting it up until this is refactored to be more straightforward

oowekyala commented 3 years ago

This is supported in version 1.7, soon to be released