Search code examples
javaintellij-ideadroolsintellij-plugin

Intellij not correctly supporting Drools drl files


I'm having quite a hard time trying to let Intellij IDEA Ultimate recognize drl files syntax. I have the Drools plugin installed and highlighting works well, but it seems that the editor can't figure out the variables correctly.

Global keyword error

Variables not recognized

I tried to search a solution online but I couldn't find any other than "Install Drools Plugin", which I already have.

Anyone knows how to solve?

Thanks


Solution

  • The Drools plugin has numerous gaps in its DRL parsing. You've found some of them.

    There's no "workarounds". You can file a bug if you'd like. The DRL is valid and will execute properly even if IntelliJ isn't rendering it prettily.