Articles about Xtext

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

Generate Traced Code with Xtext

By | May 24th, 2017|DSLs, Eclipse, Generator, Xtext|

Xtext 2.12 is released on May 26th. As described in its release notes, a main novelty is an API for tracing generated code. Why Tracing? Whenever you transpile code from one language to another, you need some kind of mapping that instructs the involved tools how to navigate from a piece of source code to [...]

Theia – One IDE For Desktop & Cloud

By | May 17th, 2017|Cloud IDE, DSLs, Eclipse, Language Server, Xtext|

Today, I want to point you at a GitHub repository we have been contributing to for the last couple of weeks. Theia is a collaborative and open effort to build a new IDE framework in TypeScript. “Yet another IDE?”, You might think. Let me explain the motivation behind it and how its scope is [...]

Xtext LSP vs. Xtext Web

By | May 12th, 2017|Cloud IDE, DSLs, Eclipse, Language Server, Xtext|

The Eclipse Xtext language development framework can be used to implement domain-specific languages (DSLs) as well as fully blown programming languages. In addition to a modern compiler architecture, it comes with tool support for different platforms, like Eclipse, IntelliJ and Web. Since supporting all these different editor platforms is a lot of effort, we [...]

Teaching the Language Server Protocol to Microsoft’s Monaco Editor

By | April 24th, 2017|Cloud IDE, Language Server, Xtext|

Through the past years we have been integrating all kinds of different JavaScipt code editors, like Ace, Orion or CodeMirror into custom web-based software tools. Since last June another very good editor, has been available: Microsoft's Monaco editor, the editor widget that is used at the core of VSCode. Besides the very good quality and speed of the [...]

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

Tutorial – Building A Language Server For Your DSL

By | December 22nd, 2016|Eclipse, Language Server, Tutorial, Xtext|

Hey there, this is Christian. VS Code's Language Server Protocol opens up a new horizon of programming IDE development. And there's good news: Eclipse Xtext 2.11 will support you in building up a language server for your DSLs. With this post I want to demo that by means a pre-release snapshot starting with a blank desk. [...]