This Language Server works for pesto scripts file. It has the following language features:
Completions
Diagnostics regenerated on file save
Outline
Go to implementation
Structure
.
├── client // Language Client
│ ├── src
│ │ └── extension.ts // Language Client entry point
├── package.json // The extension manifest.
└── server // Language Server
└── src
├── pesto.ts // Pesto compiler communication stuffs
└── server.ts // Language Server entry point
Running in development mode
Run npm install in this folder. This installs all necessary npm modules in both the client and server folder
Open VS Code on this folder.
Press Ctrl+Shift+B to compile the client and server.
Switch to the Debug viewlet.
Select Launch Client from the drop down.
Run the launch config.
If you want to debug the server as well use the launch configuration Attach to Server
In the [Extension Development Host] instance of VSCode, open a pesto document in 'pesto' language mode.