VSCode Language Client Plugin for Maud
Taken from the documented sample code for https://code.visualstudio.com/api/language-extensions/language-server-extension-guide
See Maud
Structure
.
├── client // Language Client
│ ├── src
│ │ └── extension.ts // Language Client entry point
├── package.json // The extension manifest.
Debugging locally
- Install the language server: maud (must be in PATH)
- 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 start compiling the clientc watch mode.
- Switch to the Run and Debug View in the Sidebar (Ctrl+Shift+D).
- Select
Launch Client from the drop down (if it is not already).
- Press ▷ to run the launch config (F5).
- In the Extension Development Host instance of VSCode, open a document in 'toml' language mode.
| |