vscode-languageserver-node: `NotebookCell` is missing `outputs` field

About this issue

  • Original URL
  • State: open
  • Created 5 months ago
  • Comments: 15 (13 by maintainers)

Most upvoted comments

Some tips: both the client and the server supports feature you can plug into them (@rebornix is this what you refer to as plugins?). This allows to develop new features outside of this repository but already have some nice way to integrate them since they participate on the client and server side in things like capabilities initialization. If you need support with feel free to ping.

Since it’s still evolving pretty fast (we had notebook code actions in VS Code a few months ago and now we are exploring notebook level formatting), I wonder we can firstly try custom messages but craft a spec for it. With @karthiknadig 's auto code generation tool, we can auto build libraries for notebook-specific protocol, which work like plugins to the existing standard LSP libraries.

Then language servers like ruff-lsp can import the types as

from notebooklsprotocol.types import (
    NOTEBOOK_DOCUMENT_FORMATTING
}

if we see common interest on it, we can then make it a real notebook protocol.