language specific scopes

This commit is contained in:
Martin Aeschlimann
2020-03-29 18:03:08 +02:00
parent 3ddb3d0bd6
commit 3c938c800a
8 changed files with 177 additions and 177 deletions

View File

@@ -79,6 +79,30 @@
}
}
],
"semanticTokenScopes": [
{
"language": "typescript",
"scopes": {
"property": ["variable.other.property.ts"],
"property.readonly": ["variable.other.constant.property.ts"],
"variable": ["variable.other.readwrite.ts"],
"variable.readonly": ["variable.other.constant.object.ts"],
"function": ["entity.name.function.ts"],
"namespace": ["entity.name.type.module.ts"]
}
},
{
"language": "typescriptreact",
"scopes": {
"property": ["variable.other.property.tsx"],
"property.readonly": ["variable.other.constant.property.tsx"],
"variable": ["variable.other.readwrite.tsx"],
"variable.readonly": ["variable.other.constant.object.tsx"],
"function": ["entity.name.function.tsx"],
"namespace": ["entity.name.type.module.tsx"]
}
}
],
"snippets": [
{
"language": "typescript",