Extending a Language Server With Sprotty Diagrams

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 to navigate between diagram and [...]

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

YANG-Tools: One Language Server for Four IDEs

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 language servers for all kind [...]

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

Linking Xtext Models With EMF Models

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. There are often good reasons [...]

By | July 6th, 2017|Categories: DSLs, Eclipse, Xtext|0 Comments

sprotty – A Web-based Diagramming Framework

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. So we started brooding over [...]

By | June 8th, 2017|Categories: Cloud IDE, Diagrams, DSLs, Eclipse, Language Server, sprotty|3 Comments

Generate Traced Code with 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 the respective target code and [...]

By | May 24th, 2017|Categories: DSLs, Eclipse, Generator, Xtext|0 Comments

Theia – One IDE For Desktop & Cloud

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 unique compared to existing open-source [...]

By | May 17th, 2017|Categories: Cloud IDE, DSLs, Eclipse, Language Server, Xtext|8 Comments