Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.vscode update semantic token sample Jan 17, 2020
sample update semantic token sample Jan 17, 2020
src update semantic token sample Jan 17, 2020
.gitignore Add sample Dec 9, 2019
.vscodeignore Add sample Dec 9, 2019
README.md update semantic token sample Jan 17, 2020
demo.png update semantic token sample Jan 17, 2020
package-lock.json Adopt latest proposed API Jan 16, 2020
package.json Add sample Dec 9, 2019
tsconfig.json Add sample Dec 9, 2019
tslint.json Add sample Dec 9, 2019
vscode.proposed.d.ts Adopt latest proposed API Jan 16, 2020

README.md

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"
	}
}
You can’t perform that action at this time.