background preloader


Facebook Twitter

Xtext. Syntax Coloring Out of the box, the editor supports syntax coloring based on the lexical structure and the semantic data of your files.


Users are free to customize the highlighting and configure their favorite styles. Content Assist An Xtext editor proposes valid code completions at any place in the document, helping your users with the syntactical details of your language. Validation and Quick Fixes Xtext has outstanding support for static analysis and validation of your models. Advanced Java Integration If your language targets the JVM, you'll love the Java support Xtext provides.

Integration with other Eclipse tools Xtext provides a rich API to work with resources. More IDE Features Xtext's advanced Eclipse integration goes far beyond the editor. Xtext/Documentation/Migration. This document describes how Xtext projects of oAW 4.3 can be migrated to TMF Xtext.


It assumes that you do have a running version of TMF Xtext as described in the Getting Started Document. work in progress Setup new workspace with existing oAW Xtext projects First, set up an Eclipse that works with TMF Xtext and create a new, empty workspace. Import your existing oAW Xtext projects (Grammar project, Generator project and UI project) into this workspace for further reference.

Be sure to disconnect these projects from version control or to work on a branch. Create new TMF Xtext project Create your new Xtext project in this workspace with the Xtext project wizard. Start over if the resultung package or grammar names are not as expected. Setup minimalistic model Test, whether your generator project works. If not done, yet, put your newly created projects under version control.

Migrate grammar and linking General procedure Merge original grammar into new grammar definition migrate workflow Eclipse. Bei Grabthar’s Hammer!* » Blog Archiv » How to Run Xtext (and other MWE2 Workflows) with Ant. Some days ago Sebastian showed How to Deploy Xtext to a Headless Plain-Java Envorinment.

Bei Grabthar’s Hammer!* » Blog Archiv » How to Run Xtext (and other MWE2 Workflows) with Ant

It’s nearly as easy to run the Xtext generator with Apache Ant. You just need the required libraries and the following Ant snippet to run the Xtext generator (or any other MWE2 workflow): Using Xtext 1.0 the following libraries are required to run the generator: Setting up a RCP product for a Xtext DSL « Karsten's Blog. How can I produce a standalone application with the DSL editor I created?

Setting up a RCP product for a Xtext DSL « Karsten's Blog

This question pops up sometimes in the forum. I will show you how to set up a rather minimal RCP application that enables using the DSL editor created with Xtext. As an example I take the simple Xtext project that you get when you create Xtext projects with the default settings. Sources for the example project can be downloaded here. 1. Open the menu File / New / Project / Xtext and select Xtext Project. You will get the three projects org.xtext.example.mydslorg.xtext.example.mydsl.generatororg.xtext.example.mydsl.ui 2. 3. Now we will create a Feature that contains only our DSL specific plugins. 4. A second feature should bundle all the plugins that are required to get the DSL editor running on the RCP platform.