nim-works/nimskull
LSP (Language Server Protocol) Replacement for Nimsuggest
Open
#448 opened on Oct 9, 2022
good first issue
Repository metrics
- Stars
- (346 stars)
- PR merge metrics
- (PR metrics pending)
Description
Currently we have a nimsuggest which, when the compiler's semantic analysis works, provides autocomplete, documentation lookup, and more. This is via a protocol unique to nimsuggest. On the other hand many text editors, IDEs, etc nearly universally implement clients for the Language Sever Protocol.
Prior Art/Existing Implementations:
- https://github.com/PMunch/nimlsp; this might be a reasonable starting point
- https://github.com/nim-lang/langserver; this is a process manager, this way lies madness
What needs to be done:
- write an LSP server that lives side by side
nimsuggest- it should be in this repository as we'll replace nimsuggest with it
- it needs to have strong test coverage
- once it's stable and we have a vscode extension, drop
nimsuggest