@@ -80,6 +80,7 @@ export const javaScopeSupport: LanguageScopeSupportFacetMap = {
8080 "name.variable" : supported ,
8181 "name.iteration.document" : supported ,
8282 "name.iteration.block" : supported ,
83+ "name.resource" : supported ,
8384
8485 ifStatement : supported ,
8586 statement : supported ,
@@ -91,39 +92,34 @@ export const javaScopeSupport: LanguageScopeSupportFacetMap = {
9192 "textFragment.comment.line" : supported ,
9293 "textFragment.string.singleLine" : supported ,
9394
94- "type.typeArgument" : supported ,
95- "type.typeArgument.iteration" : supported ,
96-
9795 "type.argument.formal.constructor" : supported ,
9896 "type.argument.formal.method" : supported ,
9997 "type.foreach" : supported ,
10098 "type.field" : supported ,
10199 "type.field.iteration" : supported ,
102100 "type.return" : supported ,
103101 "type.variable" : supported ,
102+ "type.typeArgument" : supported ,
103+ "type.typeArgument.iteration" : supported ,
104+ "type.resource" : supported ,
104105
105106 "value.assignment" : supported ,
106107 "value.foreach" : supported ,
107108 "value.field" : supported ,
108109 "value.return" : supported ,
109110 "value.return.lambda" : supported ,
110111 "value.variable" : supported ,
112+ "value.resource" : supported ,
111113
112114 // Unsupported
113115
114- "name.resource" : unsupported ,
115- "name.resource.iteration" : unsupported ,
116-
117116 "type.argument.formal.constructor.iteration" : unsupported ,
118117 "type.argument.formal.method.iteration" : unsupported ,
119118 "type.cast" : unsupported ,
120119 "type.class" : unsupported ,
121120 "type.enum" : unsupported ,
122121 "type.interface" : unsupported ,
123122
124- "value.resource" : unsupported ,
125- "value.resource.iteration" : unsupported ,
126-
127123 "interior.class" : unsupported ,
128124 "interior.element" : unsupported ,
129125 "interior.function" : unsupported ,
@@ -151,6 +147,7 @@ export const javaScopeSupport: LanguageScopeSupportFacetMap = {
151147 "name.argument.formal.iteration" : notApplicable ,
152148 "name.function" : notApplicable ,
153149 "name.variable.pattern" : notApplicable ,
150+ "name.resource.iteration" : notApplicable ,
154151
155152 "key.mapPair" : notApplicable ,
156153 "key.mapPair.iteration" : notApplicable ,
@@ -169,10 +166,12 @@ export const javaScopeSupport: LanguageScopeSupportFacetMap = {
169166 "value.variable.pattern" : notApplicable ,
170167 "value.typeAlias" : notApplicable ,
171168 "value.yield" : notApplicable ,
169+ "value.resource.iteration" : notApplicable ,
172170
173171 "type.argument.formal" : notApplicable ,
174172 "type.argument.formal.iteration" : notApplicable ,
175173 "type.alias" : notApplicable ,
174+ "type.resource.iteration" : notApplicable ,
176175
177176 section : notApplicable ,
178177 "section.iteration.document" : notApplicable ,
0 commit comments