mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 16:18:58 +01:00
* Colorization tests for tree sitter Part of #210475 * Fix tests * Actually fix tests * Fix line endings
73 lines
1.7 KiB
JSON
73 lines
1.7 KiB
JSON
{
|
|
"name": "vscode-colorize-tests",
|
|
"description": "Colorize tests for VS Code",
|
|
"version": "0.0.1",
|
|
"publisher": "vscode",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"activationEvents": [
|
|
"onLanguage:json"
|
|
],
|
|
"main": "./out/colorizerTestMain",
|
|
"engines": {
|
|
"vscode": "*"
|
|
},
|
|
"icon": "media/icon.png",
|
|
"scripts": {
|
|
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:vscode-colorize-tests ./tsconfig.json",
|
|
"watch": "gulp watch-extension:vscode-colorize-tests",
|
|
"compile": "gulp compile-extension:vscode-colorize-tests"
|
|
},
|
|
"dependencies": {
|
|
"jsonc-parser": "^3.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "20.x"
|
|
},
|
|
"contributes": {
|
|
"semanticTokenTypes": [
|
|
{
|
|
"id": "testToken",
|
|
"description": "A test token"
|
|
}
|
|
],
|
|
"semanticTokenModifiers": [
|
|
{
|
|
"id": "testModifier",
|
|
"description": "A test modifier"
|
|
}
|
|
],
|
|
"semanticTokenScopes": [
|
|
{
|
|
"scopes": {
|
|
"testToken": [
|
|
"entity.name.function.special"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"productIconThemes": [
|
|
{
|
|
"id": "Test Product Icons",
|
|
"label": "The Test Product Icon Theme",
|
|
"path": "./producticons/test-product-icon-theme.json",
|
|
"_watch": true
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "Color Tests",
|
|
"properties": {
|
|
"editor.experimental.preferTreeSitter": {
|
|
"type": "array",
|
|
"default": ["typescript"],
|
|
"description": "Enable the experimental tree-sitter parser."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/microsoft/vscode.git"
|
|
}
|
|
}
|