Download Options

Xtend can be used in Eclipse, IntelliJ IDEA and Android Studio. You can use your favorite IDE's plug-in mechanism to add Xtend, using one of the URLs below.

Xtend 2.9.0 Release Notes

Eclipse Users

Download Eclipse

Eclipse Updatesites

To install the Xtend plug-in into a running Eclipse.

Releases (right click & copy)

Milestones (right click & copy)

Nightly Builds (right click & copy)

Installation Instructions

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

IntelliJ IDEA 15 / Android Studio 2.0 Users

Download IDEA

Plug-In Repositories

Choose one of the following repository URLs for IDEA :

Releases (right click & copy)

Nightly Builds (right click & copy)

Installation Instructions

  • Choose Preferences from the menu bar.
  • Chosse the plugin section and add one of the URLs as a new repository.
  • Install org.eclipse.xtext and org.eclipse.xtend.
  • Follow the instructions given by IDEA.

Maven Plugin

You can create a readily configured project with the following command.

mvn archetype:generate -DarchetypeGroupId=org.eclipse.xtend -DarchetypeArtifactId=xtend-archetype

If you already have a project, you need to add the Xtend library:

<dependency>
  <groupId>org.eclipse.xtend</groupId>
  <artifactId>org.eclipse.xtend.lib</artifactId>
  <version>2.9.0</version>
</dependency>

and the Xtend compiler plugin:

<plugin>
  <groupId>org.eclipse.xtend</groupId>
  <artifactId>xtend-maven-plugin</artifactId>
  <version>2.9.0</version>
  <executions>
    <execution>
      <goals>
        <goal>compile</goal>
        <goal>testCompile</goal>
      </goals>
      <configuration>
        <outputDirectory>${project.build.directory}/xtend-gen/main</outputDirectory>
        <testOutputDirectory>${project.build.directory}/xtend-gen/test</testOutputDirectory>
      </configuration>
    </execution>
  </executions>
</plugin>

Gradle Plugin

Here is a minimal Gradle build script using Xtend:

plugins {
  id "org.xtend.xtend" version "0.4.10"
}

repositories.jcenter()

dependencies {
  compile 'org.eclipse.xtend:org.eclipse.xtend.lib:2.9.0'
}

For more information, visit the plugin’s page on GitHub

Have Fun!

You can now use your IDE’s “New Xtend Class” wizard to start your journey.

Click here for documentation and examples.