nuls
nuls copied to clipboard
Language Server Protocol implementation for nushell
- interested parties may follow new work elsewhere, per https://github.com/jokeyrhyme/nuls/issues/8 - the upstream PR is effectively glue-code between [lsp-server](https://crates.io/crates/lsp-server) and `nu` internals - this project (`nuls`) is effectively glue-code between...
- see: https://github.com/nushell/vscode-nushell-lang/pull/162#issuecomment-1770989924
- see: https://github.com/nushell/vscode-nushell-lang/pull/162#issuecomment-1770989924
- currently, we do immediate a.k.a. leading-edge throttling/debouncing - this means the language server can hold a copy of a document that is up to 500ms out-of-date compared to user...
- we've noticed that go-to-definition isn't always very accurate in terms of row/column - [x] need to double-check the behaviour of the the VSCode extension in real VSCode
- we should explore this first, as it might not be worth the trade-offs - how significant is the performance benefit? - how frequently would upstream code break backwards compatibility...
- we're currently not feature-complete yet, compared to https://github.com/nushell/vscode-nushell-lang - but we should reach out and see if there's interest in moving/forking this project into the official organisation, and what...
- we should explore this first, as it might not be worth the trade-offs - this will make it easier to distribute the language server (as it will literally be...
- Rust strings are UTF-8, and JavaScript strings are UTF-16 - during initialisation, the client provides a list of compatible encodings, and the language server selects one and sends it...