microsoft/language-server-protocol

Need examples of overLappingTokenSupport and multilineTokenSupport

Open

#1,129 opened on Nov 5, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)HTML (956 forks)batch import
clarificationhelp wantedsemantic tokens

Repository metrics

Stars
 (12,810 stars)
PR merge metrics
 (Avg merge 19h 29m) (12 merged PRs in 30d)

Description

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