Xtext 2.9 Release Candidate Nov 11, 2015 (Sven Efftinge)
A release candidate of the upcoming version of Xtext can now be tried and tested.
The Eclipse plugins are available through the milestone update site:
The IntelliJ IDEA Plugins are available through this repository URL:
You need to add that URL as a repository in IDEA and choose all three plugins (org.eclipse.xtext, org.eclipse.xtext.xtext and org.eclipse.xtend),
because IDEA doesn’t pull-in dependencies automatically.
When Is The Release?
If everything goes smoothly and noone reveals major issues in this release candidate (please try hard!),
we hope to get out the release on December 1st.
IntelliJ IDEA As An Alternative To Eclipse
In addition to the existing Eclipse integration, it is now possible to design languages entirely in IntelliJ IDEA, as well.
Languages developed in Eclipse can target all available platforms (Eclipse, IntelliJ IDEA (new), Web editors (new)) while when
working in IDEA it is not possible to develop an Eclipse plug-in for you language. IDEA is just not so well suited for Eclipse Plug-in development.
Also note: This doesn’t mean we are dropping Eclipse support, nor are we going to think of that any time soon!
Headless Builds For Xtext Projects
No matter what IDE you choose for development, or what target platforms for your language you want you’ll get a fully working build based on Maven and/or Gradle.
So your Xtext projects can be built and published in any headless Java environment. That’s why one essentially really doesn’t need a particular
tool to develop Xtext languages anymore. That said, it’s recommended to use them anyway :).
New Project Wizard
The new wizard runs in both Eclipse and IntelliJ IDEA and lets you choose, whether you want to have
editor support at all (yes you can just focus on the compiler) and what build-systems you prefer.
One of two new target platforms is web editor support for Xtext languages. With Eclipse Orion, Ace, and Code Mirror, we already support three different JS editors.
Each with a slightly different set of features and requirements. Check out Miro’s blog post on how to give it a spin.
Language Editors for IntelliJ IDEA
The other new editor target platform is IntelliJ IDEA. We even developed a full gradle integration to build, test and run
the developed IDEA plugins.
All New Code Generator
We finally managed to rewrite the old Xtext code generator entirely in Xtend.
It’s now much simpler, faster and more convenient to use and more fun to maintain :).
New Grammar Language Features
The Xtext Grammar Language got some new features, to reduce redundancy in more complex grammars such as an ECMAScript 6 IDE
we help a customer with. Sebastian has written about some of them.
Many More Fixes And Improvements
As if that wasn’t enough new stuff, we of course have also more than 200 issues on the go.
The detailed list can be found in our bug tracker.
Xtext 2.9 Beta May 22, 2015 (Sven Efftinge)
(for download instructions, see below)
The main theme of our ongoing work in Xtext & Xtend 2.9 is to reach out to other tools and platforms. After seven years of development, Xtext has become the de facto standard for implementing programming languages and external domain specific languages and IDE support for Eclipse. A couple of months ago, we announced that we have now started to extract the IDE-related infrastructure from Eclipse, such that it can be used in other scenarios as well.
Today we want to give early adopters a chance to test the current status quo and provide feedback (you always could do that, since everything we do is open-source). The “2.9 Beta” we are putting out today is a frozen state of the head, that was tested just a bit and has known issues. So it’s not an actual release and you should not use it in production! Still, it comes with some new stuff that might be interesting:
IntelliJ IDEA Support
With 2.9 you will be able to produce a feature-rich plug-in not only for Eclipse, but also for IntellIj IDEA, from the same language description. The IntelliJ editor already supports syntax coloring and content assist and even some rename refactoring works. Also, we have been working on an incremental standalone compiler, that is used by IDEA, and automatically runs the code generators for the changed and affected files.
The IDEA integration hasn’t been so easy, because IDEA is already a rich platform and it’s a bit challenging to map IDEA’s concepts with ours in performant ways. So there is still some work ahead of us, especially in the case of Xbase and Xtend, where a seamless integration with the Java IDE is our goal. We are simply not there yet and especially the integration with Java is still in a very early and bad stage. If you have Xtext DSLs that don’t use Xbase, there is a lot that works quite well already.
Stefan has written up more infos about the IntellIJ IDEA part here.
The other part we wanted to share and get feedback on, is the early state of our web support. Same story: don’t use it in production! The Xtext project wizard can create a web project, which provides you with an example html webpage, an orion editor and a java-based server backend for the editor. Syntax Coloring is done entirely in the browser, while validation and content assist are provided by the server. The server side really just projects tool support on that widget and doesn’t need any other integration with your web application, just use the orion editor as a feature rich text widget.
The client-server communication already uses an optimized communication protocol based on text-deltas and it features a cancelation policy that will avoid any unnecessary processes. Even with large documents response time is very good.
Miro has written a more detailed post about this over here.
To try it out, just download (see below) and use the new “Xtext project wizard” to create a fresh Xtext language with a dedicated project for the web support.
Please tell us, what you would like to do with this. Bug reports and feature requests go here : bugs.eclipse.org
Other Themes In 2.9
Besides the web and IDEA support, we are working on making it even simpler to build Xtext projects. One goal for instance is to allow for xtext projects without any Eclipse dependency, such that you can just use the runtime and build and deploy it with Maven or Gradle. In addition we will again spend much time on improving the overall performance and bugfixes of course.
More updates soon
The 2.9 release is planned for autumn 2015 and shall come with production ready support for IDEA and Web. Until then we will likely have more beta releases, depending on demand and progress.
Here are the download links for the beta:
Ready to use eclipse distributions:
Eclipse update site : http://download.eclipse.org/modeling/tmf/xtext/updates/composite/milestones/
IDEA plug-in repository : http://download.eclipse.org/modeling/tmf/xtext/idea/2.9.0.beta5/updatePlugins.xml
XtextCON 2015 - Final Program Online Mar 31, 2015 (Sven Efftinge)
We are happy to announce the final program for XtextCON 2015. The conference now features 34 sessions with 27 speakers from different countries. Here is an excerpt of lately added sessions:
- Oomph, Eclipse the Way You Want It (Ed Merks, Eike Stepper),
- Xtext editors in JavaFX applications (Tom Schindl),
- The Future of Xtext (Sven Efftinge, Sebastian Zarnekow)
The conference also covers graphical diagramming topics, such as:
- Enhancing Graphical Editors with Xtext (Miro Spönemann),
- Lightweight Diagrams for Your DSLs (Christian Schneider),
- Graphical Views with FXDiagram (Dr. Jan Köhnlein)
In addition to those technical sessions, there will be case studies from different industries, e.g.:
- Model based migration of legacy software (Arjan Mooij),
- Sustainable Service Design through Xtext (Dr. Michael Bischoff),
- EAI and Xtext DSLs (André Lehner, Dietmar Stoll)
There is much more to discover on the website. And don’t forget to register!
In addition to the conference program, the Xtext committers will again run the Xtext Clinic. This is an offer to the attendees to make an appointment for a one hour session, where individual Xtext-related problems and challenges can be discussed and solved. The clinic has been utilised a lot last year with very positive feedback.
So in case you are going, don’t hesitate and make an appointment!
Hope to see you in May!
Xtext 2.8.0 Released Mar 11, 2015 (Sven Efftinge)
The team is proud to release Xtext & Xtend 2.8.0. The new release comes with over 260 bugfixes and enhancements, the runtime performance as well as the tool performance has been improved significantly. Version 2.8.0 is the best Xtext & Xtend ever! :-)
For more details please have a look at the release notes.
In parallel to the 2.8.0 release we have been very busy with working on support for IntelliJ IDEA, which comes along nicely. We will announce a public BETA in a couple of weeks. Please stay tuned for this.
Please take part in our brief survey on your Xtext usage. We really need this information to better plan future developments. It’s just five minutes of your time, you can skip any questions you don’t like to answer and you can even win an iPad or a ticket for XtextCON. Thx!
Xtext 2.7.3 is out! Nov 20, 2014 (Sven Efftinge)
We have just released version 2.7.3 of Xtext. It comes with some important bugfixes and is recommended for any 2.7.x users.
Here is the full log.
Xtext 2.7.0 Available Sep 2, 2014 (Sebastian Zarnekow)
We proudly announce Xtext 2.7.0. The new version includes many improvements, new features and bugfixes. Also the crucial parts of the Xbase APIs have left the incubator status and are no longer considered provisional. More information about the changes in 2.7.0 can be found in the release notes.
Special thanks go to all those who contributed to this release: Anton Kosyakov, Dennis Huebner, Holger Schill, Jan Koehnlein, Jan Rosczak, Jörg Reichert, Knut Wannheden, Michael Vorburger, Moritz Eysholdt, Ralf Kretzschmar-Auer, Sebastian Zarnekow, Stefan Oehme, Stéphane Galland, Sven Efftinge, Thomas Fritsch, and Vladimir Piskarev.
We’re also very grateful for the feedback that we get everyday. It helped us to get where we are now.
Xtext 2.6.0 Available May 21, 2014 (Sven Efftinge)
We are happy to announce the 2.6.0 release of Xtext. It includes many bugfixes, improvements and new features. Have a look at the release notes for more details.