问题
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?
回答1:
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.
来源:https://stackoverflow.com/questions/39534153/drools-support-in-intellij-idea