Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple text document synchronization options #57

Closed
danixeee opened this issue Mar 22, 2019 · 0 comments · Fixed by #65
Closed

Support multiple text document synchronization options #57

danixeee opened this issue Mar 22, 2019 · 0 comments · Fixed by #65
Assignees
Labels
enhancement New feature or request

Comments

@danixeee
Copy link
Contributor

Currently we support just incremental updates. The goal is to support all synchronization options specified by the protocol:

/**
 * Defines how the host (editor) should sync document changes to the language server.
 */
export namespace TextDocumentSyncKind {
	/**
	 * Documents should not be synced at all.
	 */
	export const None = 0;

	/**
	 * Documents are synced by always sending the full content
	 * of the document.
	 */
	export const Full = 1;

	/**
	 * Documents are synced by sending the full content on open.
	 * After that only incremental updates to the document are
	 * send.
	 */
	export const Incremental = 2;
}
@danixeee danixeee added the enhancement New feature or request label Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant