Skip to content

Language support for notebook and interactive window

Peng Lyu edited this page Jul 9, 2021 · 2 revisions

The notebook/interactive window language features are driven by a language client middleware:

  • create concat document when receiving notebook or cell text document open event
  • pass the concat document (which is a TextDocument) to language server
  • when receiving diagnostics/hover/completion results, map them from concat document position to cell document position.
  • close/clear concat document when notebook or all cells are deleted

notebook-lsp-middleware

Clone this wiki locally