Drools support in IntelliJ IDEA

Andriy Kryvtsun picture Andriy Kryvtsun · Sep 16, 2016 · Viewed 20.3k times · Source

I'm trying to use IntelliJ IDEA with legacy project with Drools files but I'm not successful in this.

I added Drools framework to the module with *.drl files and... nothing. I can't reformat *.drl files, don't have any navigation, no code completion etc.

I expected to see ability to add Drools facet to my module, specify *.drl files and then work with Drools files basically as with Spring framework.

So what Drools support actually IntelliJ IDEA has?

Answer

S0m30n3 picture S0m30n3 · Sep 19, 2016

Do you have the Drools plugin enabled in IntelliJ IDEA?

To check it, you need to navigate to File -> Settings -> Plugins, then search for Drools. The plugin is called JBoss Drools support. If it's not enabled, enable it.