tm4e provides the capability to support :
TextMate tokenizerwith Java and integrates it with Eclipse IDE.
tm4e is an official Eclipse.org project so it conforms to typical Eclipse.org requirements and guarantees.
You can install
tm4e with the update site
http://download.eclipse.org/tm4e/snapshots/ which provides samples of syntax coloration with:
org.eclipse.tm4e.core provides the Java TextMate tokenizer. This project is a Java port of vscode-textmate written in TypeScript. This Java API can be used with any Java UI Toolkit (Swing, Eclipse, etc). See Core section for more information.
org.eclipse.tm4e.ui provides the Eclipse org.eclipse.jface.text.presentation.IPresentationReconciler TMPresentationReconciler which is able to tokenize an editor content by using a given JSON, PList TextMate grammar and do syntax coloration. See UI section for more information.
Here a sample with TypeScript:
Here are some projects that use tm4e:
tm4eis a community open-source project licensed under the Eclipse Public License 1.0.
eclipse/tm4erepository is the reference repository to contribute to
mvn clean verify, continuous integration and deployment is performed by CI jobs at https://hudson.eclipse.org/tm4e