Skip to content

Commit e5c5a53

Browse files
authored
Declare semantic token modifiers (#1760)
Signed-off-by: 0dinD <[email protected]>
1 parent ba8bd7b commit e5c5a53

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

package.json

+33
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,36 @@
5252
"description": "Style for modifier keywords."
5353
}
5454
],
55+
"semanticTokenModifiers": [
56+
{
57+
"id": "public",
58+
"description": "Style for symbols with the public access modifier."
59+
},
60+
{
61+
"id": "private",
62+
"description": "Style for symbols with the private access modifier."
63+
},
64+
{
65+
"id": "protected",
66+
"description": "Style for symbols with the protected access modifier."
67+
},
68+
{
69+
"id": "native",
70+
"description": "Style for symbols with the native modifier."
71+
},
72+
{
73+
"id": "generic",
74+
"description": "Style for symbols that are generic (have type parameters)."
75+
},
76+
{
77+
"id": "typeArgument",
78+
"description": "Style for symbols that are type arguments for a generic symbol."
79+
},
80+
{
81+
"id": "importDeclaration",
82+
"description": "Style for symbols that are part of an import declaration."
83+
}
84+
],
5585
"semanticTokenScopes": [
5686
{
5787
"language": "java",
@@ -65,6 +95,9 @@
6595
],
6696
"modifier": [
6797
"storage.modifier.java"
98+
],
99+
"keyword.documentation": [
100+
"keyword.other.documentation.javadoc.java"
68101
]
69102
}
70103
}

0 commit comments

Comments
 (0)