Document TextDocumentSyncKind.None behavior for cell text synchronization

Co-authored-by: dbaeumer <1931590+dbaeumer@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-12-09 11:53:13 +00:00
parent caa2a46cc6
commit 5c4d6ddf9e
2 changed files with 8 additions and 0 deletions

View file

@ -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.

View file

@ -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.