Name: jetbrains-plugin-sample
Owner: Antlr Project
Description: A sample plugin for jetbrains IDEs that uses an ANTLR grammar for a nontrivial custom language.
Created: 2015-12-15 20:44:14.0
Updated: 2018-05-11 07:47:05.0
Pushed: 2017-10-21 17:00:22.0
Homepage: null
Size: 1413
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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 git@github.com:antlr/jetbrains.git adaptor
.
Now create a new Run Configuration
of the type Plugin
.