How to get IntelliJ IDEA to recognize the Grails DSL migration module?

With the incredible db migration of the Grails plugin , it is really easy to link the Liquibase migrations to the Grails project, so my schema can be a version along with my application code and provides a nice, clean, easy-to-execute script update / downgrade mechanism.

The only difficulty is that IntelliJ IDEA knows nothing about the DSL that uses the database migration plugin! I know that IntelliJ IDEA can work with specialized DSLs , but I cannot find the gDSL handle for the db migration plugin anywhere.

Most DSL is directly related to the Liquibase XML Schema, with the addition of one more Grails add-on so you can run arbitrary Groovy code during the migration.

Does anyone know if there is a gDSL descriptor file for IntelliJ IDEA for the Grails database migration plugin or where can I find what someone else did, or maybe I could do it myself?

+3
source share
2 answers

It may not be the way you want, but what I am doing is writing liquibase-specific bitones in the change XML file. This way I get the autocomplete provided by the Liquibase XML Schema. It turns out very smoothly in the idea.

, , : dbm-changelog-to- groovy, xml groovy.

, , . Liquibase xml groovy groovy, , .

0

IntelliJ , DSL Liquibase.

0

All Articles