lsp_sync_document
Syncs document content changes to the language server, auto-opening unopened files. Optionally provide new text or read from disk.
Instructions
Sync document content changes to the LSP server (textDocument/didChange). Auto-opens if not already tracked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | New file content. Reads from disk if omitted. | |
| filePath | Yes | Absolute or workspace-relative path to the file. | |
| language | Yes | Language server to use. |