About Jan Köhnlein

Dr. Jan Köhnlein has been a passionate committer to Xtext and Xtend from the beginning. He is one of the leaders of TypeFox and drives the FXDiagram project.

Extending a Language Server With Sprotty Diagrams

By | October 11th, 2017|Cloud IDE, Diagrams, DSLs, Eclipse, Generator, Language Server, sprotty, Theia, Xtext|

In my last post, I described how we connected an Xtext-based language server for the YANG language into various editor clients. Today, I will show how we added graphical diagrams using the sprotty framework. These diagrams show a graphical overview on your YANG documents. They are automatically layouted and updated on changes. They allow [...]

YANG-Tools: One Language Server for Four IDEs

By | October 7th, 2017|Cloud IDE, DSLs, Eclipse, Electron, Language Server, Theia, VSCode, Xtext|

There is a lot of hype around the Language Server Protocol: It allows language implementors to encapsulate the editor support for their language in a server that can talk to various clients through a JSON-based protocol. While initially designed for Visual Studio Code, lots of other editor clients started supporting it, and lots of [...]

Linking Xtext Models With EMF Models

By | July 6th, 2017|DSLs, Eclipse, Xtext|

This article shows the necessary steps to enable cross-references between Xtext models and other EMF based models. It focusses on the linking aspects, and keeps things like the synchronization, transactions, singleton editing domains, dirty-state handling etc. aside. So for a full integration, let’s say with Sirius, this is only one part of the story. [...]

sprotty – A Web-based Diagramming Framework

By | June 8th, 2017|Cloud IDE, Diagrams, DSLs, Eclipse, Language Server, sprotty|

Development tools in the web are trending. With Theia, we have already started to build an IDE platform with web technologies that works for browser apps as well as rich clients. While Xtext, Monaco, and LSP constitute a good foundation for textual editing, the question arises whether we can extend this idea for graphics. [...]

Xtext 2.11 Is Released

By | February 1st, 2017|DSLs, Eclipse, Language Server, Xtext|

After more than 7 months we finally got Xtext 2.11 out the door. Thanks for your patience. But good things come to those who wait! So go and get it while it's hot. Xtext 2.11 comes with tons of bugfixes and improvements for the framework itself and for Xtend. If you want more technical [...]

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 [...]