RobustToolbox
RobustToolbox copied to clipboard
Language server
Proof of concept for Prototype YAML language server
Implements quite a few features but currently not well structured as it was a combination of exploring how a LS works and how RT works.
This attempts to do the minimum to get prototype loading (and the requisite parts) active, and then leans on the existing YAML Linter implementation to provide diagnostics.
Currently only the server assembly is loaded, but this does still appear to be good enough to be useful for most cases (only exception I’ve run into so far when poking around prototype files is the Sprite component)
Intent is to continue to work on this but I wanted to discuss direction and collect possible minimum requirements for merging.
You will also need this branch for the content repo – https://github.com/ciaran/space-station-14/tree/robust-language-server
Which enables generating XML docs for the Content.Server and Content.Shared assemblies.
To use it:
- clone this repo https://github.com/ciaran/vscode-robust-toolbox
- do an
npm install - Then open this folder in VSCode, go to View -> Run, then press "Launch Client" at the top-left.
- It should open a new VSCode window with the extension active, open the
space-station-14root folder in this window and then open a .yml prototype file