View source
enum abstract TextDocumentSyncKind(Int)
package languageServerProtocol.protocol
import languageServerProtocol.protocol.Protocol
Defines how the host (editor) should sync document changes to the language server.
Variables
inlineread onlyFull:TextDocumentSyncKind = 1
Documents are synced by always sending the full content of the document.
inlineread onlyIncremental:TextDocumentSyncKind = 2
Documents are synced by sending the full content on open. After that only incremental updates to the document are send.