From 5c4d6ddf9ee4e2642521f97c03e37edd94110b9d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 9 Dec 2025 11:53:13 +0000 Subject: [PATCH] Document TextDocumentSyncKind.None behavior for cell text synchronization Co-authored-by: dbaeumer <1931590+dbaeumer@users.noreply.github.com> --- _specifications/lsp/3.17/notebookDocument/notebook.md | 4 ++++ _specifications/lsp/3.18/notebookDocument/notebook.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/_specifications/lsp/3.17/notebookDocument/notebook.md b/_specifications/lsp/3.17/notebookDocument/notebook.md index 710551d..2f049c8 100644 --- a/_specifications/lsp/3.17/notebookDocument/notebook.md +++ b/_specifications/lsp/3.17/notebookDocument/notebook.md @@ -358,6 +358,10 @@ export interface NotebookDocumentSyncOptions { * How cell text content should be synced to the server. If omitted, * cell text content is sent in full for every change. * + * If `TextDocumentSyncKind.None`, cell text content changes are not + * synchronized to the server. This is useful when only the notebook + * structure (cells) needs to be tracked, but not the cell content. + * * If `TextDocumentSyncKind.Full`, the client MUST send the full * content of the cell on every change. Ranged updates (incremental * synchronization) MUST NOT be used. diff --git a/_specifications/lsp/3.18/notebookDocument/notebook.md b/_specifications/lsp/3.18/notebookDocument/notebook.md index 1629197..bd4ff09 100644 --- a/_specifications/lsp/3.18/notebookDocument/notebook.md +++ b/_specifications/lsp/3.18/notebookDocument/notebook.md @@ -376,6 +376,10 @@ export interface NotebookDocumentSyncOptions { * How cell text content should be synced to the server. If omitted, * cell text content is sent in full for every change. * + * If `TextDocumentSyncKind.None`, cell text content changes are not + * synchronized to the server. This is useful when only the notebook + * structure (cells) needs to be tracked, but not the cell content. + * * If `TextDocumentSyncKind.Full`, the client MUST send the full * content of the cell on every change. Ranged updates (incremental * synchronization) MUST NOT be used.