mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
language specific scopes
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user