This is a demonstration of ANTLR-jetbrains supported library.
WARNING. Turn on Dragon speech recognition for Mac and do a rename. GUI deadlocks. Every time. Turn off dragon. No problem ever. See jetbrains forum.
You need to fetch the antlr dependencies from the maven pom file with mvn dependency:resolve
. To process the
grammar files, call mvn process-resources
.
Go to File -> Project Structure -> Project
and add a new IntelliJ Platform Plugin SDK
or use a valid existing one.
You also need the jetbrains antlr adapter. It may be imported as a git submodule with git submodule add [email protected]:antlr/jetbrains.git adaptor
.
Now create a new Run Configuration
of the type Plugin
.