Skip to content
IDE extensions for the Xtext grammar language, mainly for VSCode and Theia/Gitpod
TypeScript Xtend JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
xtext-ace-extension
xtext-atom-extension
xtext-language-server
xtext-theia-extension
xtext-vscode-extension
.gitignore
LICENSE
README.md
Xtext.iro

README.md

Xtext IDE Extensions

This project contains several IDE extensions for the Xtext grammar language, mainly for VSCode and Theia/Gitpod editors. Each one located at its own sub directory.

List of Supported Extensions

  • VS Code (syntax highlighting, folding, brackets)
  • Theia/Gitpod (syntax highlighting, folding, brackets)

Development Hint

All extensions are mainly based on "grammars" for synatx highlighting which have been written using the syntax hightlighting "grammar" online editor Iro capable to issue "grammars" for Textmate, Atom, Sublime and others. For details see Chris Ainsley's article on it.

In case of Textmate Iro creates .plist files. As it is more convinient and more common to use Textmate grammars in JSON format, the .plist file has been transformed using the service http://json2plist.sinaapp.com/.

The Iro base file for all extension may be found in the root of the project: Xtext.iro.

Contributions are wellcome. Please try to use the Iro file and its editor to ensure all extension benefit from in case the syntax highlighting is improved.

For a good starting point highlighting scripts are provided in this repository for

  • ACE editor
  • Atom editor

Iro supports further editor highlighting mechanism and creates appropriate files for it. Take it as a starting point. Support edior highlighting mechamisms are

  • Pygments
  • Rouge
  • Sublime 3
You can’t perform that action at this time.