Compatible with: IntelliJ IDEA MPS Android Studio
Aug 26, 2018

This plugin adds support for Cocol/R language and Coco/R compiler generator.
For more details about Coco/R please refer to
Any bug reports should be filed on GitHub.


  • Syntax Highlighting - Customizable via settings page
  • Commenter (Block and line comments)
  • Syntax Error highlighting (unexpected tokens)
  • Reference check (report unresolvable references to characters, tokens and productions)
  • Declaration order check (report references to characters and tokens declared after usage)
  • Attributes check (productions have to be used with or without attributes according to declaration)
  • Highlight unused characters, tokens, pragmas and productions
  • Code Folding
  • Structure View
  • Find usages
  • Inplace rename refactorings (Compiler, Characters, Tokens, Pragmas and Productions)
  • Brace matching for (), [], {}, <>, <..> and (..)
  • Code completion (Compiler, Character, Token, Pragma and Production names)
  • Go to declaration
  • Go to symbol / Symbol search

Features for Java enabled IDEs:

  • Configurable Java language injection
  • Generate Scanner and Parser via menu action
  • Warnings and Errors during Coco/R execution are shown within the Problems Tool Window
  • Automatic detection of appropriate output folder for generated Java classes
  • Automatic detection of package in case no $package directive is present
  • Automatic detection of appropriate output root for generated Java classes
  • Errors from generated Parser are mapped back to the grammar file
  • Go to generated code (for productions)

Download plugin

Recent change notes

  • Ensure compatibility with 2018.2.*