Posts for planet.eclipse.org

Xtext 2.11 Beta 1 Is Here!

By | October 21st, 2016|Eclipse, Xtext|

The Xtext 2.11 release has been rescheduled for January 24th 2017, as we underestimated the amount of work in front of us and overestimated the amount of time we could spend. Today's beta release is merely a sanity check to ensure that we can still build a complete SDK update site. Don't use it in production, also we [...]

Xtext Core – Less is More

By | August 2nd, 2016|DSLs, Eclipse, Language Server, Xtext|

In this post I want to give a short update of what we've been doing in Xtext and what the future plans are. As you probably know, Xtext has been around for a couple of years growing into a very mature framework for implementing full blown programming languages like Xtend as well as simpler more [...]

Building a VS Code Extension with Xtext and the Language Server Protocol

By | July 27th, 2016|DSLs, Eclipse, Language Server, Xtext|

In the upcoming Version 2.11, Xtext will support the Language Server Protocol defined by Visual Studio Code. This is a very important step, as the protocol is generic and is going to be supported by other editors such as Eclipse or Che as well. In this post I want to give the early adopters among [...]

The Language Server Protocol in Java

By | June 30th, 2016|Eclipse, Language Server|

Note: The ls-api library has been superseded by LSP4J. Parts of this post refer to outdated API. The Language Server Protocol (LSP) is an interface for connecting arbitrary languages to development tools (IDEs). Such a connection enables important features like validation and code completion, which have become a matter of course in today's IDEs. LSP [...]

How And Why Use Xtext Without The IDE

By | March 16th, 2016|DSLs, Eclipse, Xtext|

Xtext is a language development framework that is best known for the rich tool support it gives you for your programming languages. But even if you don't need editing capabilities, Xtext has much more to offer than a simple parser generator like Antlr. In this post I will first describe the aspects and features that [...]

Xtext’s New Generator: Migration

By | February 19th, 2016|Eclipse, Generator, Xtext|

Xtext 2.9 ships with a new generator architecture, which is described in the previous post. Even though there is no immediate urge to migrate an existing language to the new generator infrastructure, here is how to do it. Make sure to keep a copy of your old code in order to safely roll back in [...]

Xtext’s New Generator

By | February 4th, 2016|Eclipse, Generator, Xtext|

Xtext 2.9 adds support for two additional editor platforms: Web-editors and IDEA. It also adds generic build system integration for Maven and for Gradle. As a result the number of generator options has grown a lot. So we took the opportunity to re-implement Xtext's code generator – the one that creates the language infrastructure from the [...]

Tutorial: Embedded Java With Xtext

By | January 24th, 2016|Eclipse, Tutorial, Xtext|

Jbase is a customization of Xbase to handle pure Java expressions and to adhere to the stricter Java type system. Jbase main implementation aspects are: redefines many of the Xbase grammar rules so that they can handle Java expressions (including array access expressions with []) customizes the Xbase compiler to handle additional Java expressions customizes [...]

How To Eat The World With DSLs

By | January 24th, 2016|DSLs, Eclipse, Xtext|

Everybody repeats the popular quote by investor Marc Andreessen: “ Software is Eating the World”. This phrase describes how software is going everywhere these days and how it disrupts traditional businesses. Industries that seemed to be well-established and developed are taken over by startups with software in often just a couple of months. Think of [...]