forked from eclipse-tm4e/tm4e
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f241bfb
commit 1b560ae
Showing
1 changed file
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
# textmate.java | ||
# TextMate support in Eclipse IDE (textmate4e) | ||
|
||
[![Build Status](https://secure.travis-ci.org/angelozerr/textmate.java.png)](http://travis-ci.org/angelozerr/textmate.java) | ||
|
||
TextMate for Java and provide a **IPresentationReconcilier** for Eclipse | ||
**textmate4e** provides the capability to support TextMate tokenizer with Java. It provides: | ||
|
||
* [org.eclipse.textmate4e.core](https://github.com/angelozerr/textmate.java/tree/master/org.eclipse.textmate4e.core) provides the Java TextMate tokenizer. This project is a Java port of [vscode-textmate](https://github.com/Microsoft/vscode-textmate) written in TypeScript. This Java API can be used with any Java UI Toolkit (Swing, Eclipse, etc). See [Core](https://github.com/angelozerr/textmate.java/wiki/Core) section for more information. | ||
|
||
* [org.eclipse.textmate4e.ui](https://github.com/angelozerr/textmate.java/tree/master/org.eclipse.textmate4e.ui) provides the Eclipse **org.eclipse.jface.text.presentation.IPresentationReconciler** [TMPresentationReconciler](https://github.com/angelozerr/textmate.java/blob/master/org.eclipse.textmate4e.ui/src/main/java/org/eclipse/textmate4e/ui/text/TMPresentationReconciler.java) which is able to tokenize an editor content by using a given JSON, PList TextMate grammar and do syntax coloration. See [UI](https://github.com/angelozerr/textmate.java/wiki/UI) section for more information. | ||
|
||
Here a sample with TypeScript: | ||
|
||
![TypeScript Editor](https://github.com/angelozerr/textmate.java/wiki/images/TypeScriptEditor.png) | ||
|
||
You can install textmate.java with the update site http://oss.opensagres.fr/textmate/1.0.0-SNAPSHOT/ | ||
which provides samples of syntax coloration with: | ||
|
||
* GenericEditor for Language Server (C#, CSS, JSON) | ||
* a TypeScript Editor | ||
|
||
![TypeScript Editor](https://github.com/angelozerr/textmate.java/wiki/images/TypeScriptEditor.png) | ||
* a TypeScript Editor. | ||
|