microsoft/language-server-protocol

Need examples of overLappingTokenSupport and multilineTokenSupport

Open

#1.129 geöffnet am 5. Nov. 2020

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)HTML (956 Forks)batch import
clarificationhelp wantedsemantic tokens

Repository-Metriken

Stars
 (12.810 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 19h 29m) (12 gemergte PRs in 30 T)

Beschreibung

I added two capabilities to the spec:

	/**
	 * Whether the client supports tokens that can overlap each other.
	 */
	overlappingTokenSupport?: boolean;

	/**
	 * Whether the client supports tokens that can span multiple lines.
	 */
	multilineTokenSupport?: boolean;

Originally posted by @dbaeumer in https://github.com/microsoft/language-server-protocol/issues/1077#issuecomment-721653729

The example in the documentation doesn't address the above. An example would be good.

Contributor Guide