logo

Syntax highlighting

Eclipse Plugin

To install a plugin providing syntax highlighting for file types used by the JastAdd system, use the following update site: http://jastadd.org/update-site/eclipse-syntax.

To add a new update site in Eclipse select the "Install New Software..." menu item from the "Help" menu.

JEdit

On Linux:

Copy the following two files to the directory ~/.jedit/modes: jastadd.xml, jastadd_ast.xml

Add the following lines to the file ~/.jedit/modes/catalog:

<MODE NAME="jastadd" FILE="jastadd.xml" FILE_NAME_GLOB="*.{jrag,jadd}"/>
<MODE NAME="jastadd_ast" FILE="jastadd_ast.xml" FILE_NAME_GLOB="*.ast"/>