Download xText

Installation Instructions

Eclipse Xtext is implmented in Java, so you must have a Java Runtime Environment installed in order to proceed.

There are two easy ways to get Xtext up and running. A pre-configured Eclipse distribution is available which has already all the necessary plug-ins installed. Alternatively, you can install Xtext into your existing Eclipse by means of the Eclipse update mechanism.

Install Pre-Configured Eclipse With Xtext

  • Download the distribution from above that matches your OS.
  • Unzip the archive into the directory of your choice.Windows Users should choose a directory close to the root since the zip contains a deeply nested folder structure. The maximum path length on windows may not exceed 256 characters.
  • Launch Eclipse and select the workspace location. A workspace location is the directory for your user data and project files.

Install Xtext From Update Site

If you have an Eclipse running :

  • Choose Help -> Install New Software… from the menu bar and Add….Insert one of the update site URLs from above. This site aggregates all the necessary and optional components and dependencies of Xtext.
  • Select the Xtext SDK from the category Xtext {version} and complete the wizard by clicking the Next button until you can click Finish.
  • After a quick download and a restart of Eclipse, Xtext is ready to use.

Note: Xtext relies on the Antlr generator library. Unfortunately, we cannot provide this library on the official Eclipse release update sites. Instead, Xtext will try to download it on demand. To avoid this, you can manually install the feature Xtext Antlr from the itemis update site The general installation procedures are not affected by this issue.


Go to Eclipse to Download or Update XTEXT Now


What is xText?

Xtext is an open-source framework for developing programming languages and domain-specific languages(DSLs). Unlike standard parser generators, Xtext not only generates a parser, but also a class model for theAbstract Syntax Tree and a fully featured, customizable Eclipse-based IDE.

Xtext is being developed in the Eclipse Project as part of the Eclipse Modeling Framework Project and is licensed under the Eclipse Public License.


The first version of Xtext was published in 2006 in the openArchitectureWare project. The last version released under the oAW project is version 4.3. Since the beginning of 2008, Xtext is developed at Eclipse under the Eclipse Modeling Project.[1] Joining Eclipse’s annual simultaneous release, Xtext released version 0.7.0 (June 2009), 1.0 (June 2010), 2.0 (June 2011), 2.3 (June 2012), 2.5 (December 2013), 2.6 (May 2014) and 2.7 (September 2014). The framework is mainly developed by the German company Itemis.[2]


To specify a language, a user has to write a grammar in Xtext’s grammar language. This grammar describes how an Ecore model is derived from a textual notation. From that definition, a code generator derives an ANTLR parser and the classes for the object model. Both can be used independently of Eclipse.

Into the bargain, Eclipse-based IDE integration is generated. That IDE offers e.g.

  • Syntax coloring,
  • Code completion,
  • Static analysis,
  • Outline view,
  • Source-code navigation,
  • Indexing,
  • Compare view,
  • Hovers,
  • Code folding and
  • Rename refactoring.

Xtext languages and the IDE are highly configurable, as the language infrastructure and the IDE are wired up using dependency injection and Guice. The default components can be easily replaced by binding customized ones instead.

Since version 2.0, Xtext facilitates the development of domain-specific languages for the Java Virtual Machine, referring to and compiling to Java artifacts with tight integration into Eclipse’s Java Development Toolkit. A reusable expression languages library enables rich behavior right within the DSL.

A code generator written in Xtend can be easily hooked in for any language. For JVM languages, it is enough to map the DSL concepts to Java artifacts to get holistic Java integration. An alternative interpreter is also available.


At the time of writing this article, the Xtext homepage lists around 40 commercial and non-commercial projects from several application domains using Xtext.[3]

The general-purpose language Xtend is also built with Xtext.