jupyterlab-lsp
jupyterlab-lsp copied to clipboard
Feature request: GitLab Duo Code Suggestions via gitlab-lsp
Description
Add support for GitLab Duo Code Suggestions via the GitLab Language Server
Expected behavior
gitlab-lsp suggestions work in together with existing traditional language-specific LSP servers.
This would be a fine feature as an optional extension, but we likely don't have the ability to test it, and therefore, support it directly in this repo, without a raft of API tokens, etc.
@nocnokneo thanks for highlighting GitLab Duo Code Suggestions! We implemented inline code suggestions in JupyterLab 4.1 (https://github.com/jupyterlab/jupyterlab/pull/15160) with the interfaces following the upcoming Language Server Protocol v3.18. The plan is to have an IInlineCompletionProvider in jupyterlab-lsp which would send textDocument/inlineCompletion requests; however before we merge such a new feature we would like to LSP v3.18 to be finalised and released - it is still in draft.
As for the GitLab Language Server, as @bollwyvl mentions it would be a bit higher barrier to merge out of the box support for it (this means auto-discovery and configuration specification) as it not necessarily something we can easily test, but if you would like to contribute a jupyter-lsp extension, we could host it in jupyter-lsp organization.