noyalib YAML for Visual Studio Code
Diagnostics as you type, formatting on save and JSON Schema descriptions on
hover, from the noyalib-lsp
language server.
Requirements
The server binary:
cargo install noyalib-lsp --locked
or a signed binary from the
releases. Set
noyalib.path if it is not on your PATH.
Settings
| Setting |
Default |
Meaning |
noyalib.path |
noyalib-lsp |
The server binary to run |
noyalib.trace.server |
off |
Protocol tracing |
To format on save:
{ "[yaml]": { "editor.defaultFormatter": "sebastienrousseau.noyalib", "editor.formatOnSave": true } }
Build the extension
cd editors/vscode && npm install && npm run package # noyalib-<version>.vsix
Install the .vsix with "Extensions: Install from VSIX…". Each release
attaches the packaged extension.
| |