antlr/jetbrains-plugin-sample

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Sample Jetbrains plugin using ANTLR grammar

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.

Running the plugin for the first time

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.