Files
vscode-extension-samples/semantic-tokens-sample
Matt Bierner e8da8b531a Update tslint version to 5.19
This fixeds a few vulnerabilities listed when running `npm i`
2020-04-14 18:05:51 -07:00
..
2020-01-17 16:41:22 +01:00
2020-01-17 16:41:22 +01:00
2020-03-31 00:21:30 +02:00
2019-12-09 15:39:21 +01:00
2019-12-09 15:39:21 +01:00
2020-01-17 16:41:22 +01:00
2020-01-16 18:12:19 +01:00
2020-04-14 18:05:51 -07:00
2020-01-17 16:41:22 +01:00
2019-12-09 15:39:21 +01:00
2019-12-09 15:39:21 +01:00

Semantic tokens sample

This is an extension sample showing a very simple semantic tokens provider. This semantic tokens provider always returns all the tokens in a file.

For more background on semantic highlighting read here

Screenshot

How to run

Launch the extension and open the file sample/sample.semanticLanguage and use the following settings:

"editor.tokenColorCustomizationsExperimental": {
	"*.static": {
		"foreground": "#ff0000",
		"fontStyle": "bold"
	},
	"type": {
		"foreground": "#00aa00"
	}
}