@@ -169,7 +169,7 @@ export class ScopeTreeProvider implements TreeDataProvider<MyTreeItem> {
169
169
private getScopeTypesWithSupport (
170
170
scopeSupport : ScopeSupport ,
171
171
) : ScopeSupportTreeItem [ ] {
172
- const getIntersectionIcon = ( ( ) => {
172
+ const getContainmentIcon = ( ( ) => {
173
173
if ( scopeSupport !== ScopeSupport . supportedAndPresentInEditor ) {
174
174
return null ;
175
175
}
@@ -179,7 +179,7 @@ export class ScopeTreeProvider implements TreeDataProvider<MyTreeItem> {
179
179
}
180
180
const selection = editor . selections [ 0 ] ;
181
181
return ( scopeType : ScopeType ) => {
182
- return this . getIntersectionIcon ( editor , selection , scopeType ) ;
182
+ return this . getContainmentIcon ( editor , selection , scopeType ) ;
183
183
} ;
184
184
} ) ( ) ;
185
185
@@ -200,7 +200,7 @@ export class ScopeTreeProvider implements TreeDataProvider<MyTreeItem> {
200
200
new ScopeSupportTreeItem (
201
201
supportLevel ,
202
202
isEqual ( supportLevel . scopeType , this . scopeVisualizer . scopeType ) ,
203
- getIntersectionIcon ?.( supportLevel . scopeType ) ,
203
+ getContainmentIcon ?.( supportLevel . scopeType ) ,
204
204
) ,
205
205
)
206
206
. sort ( ( a , b ) => {
@@ -224,7 +224,7 @@ export class ScopeTreeProvider implements TreeDataProvider<MyTreeItem> {
224
224
} ) ;
225
225
}
226
226
227
- private getIntersectionIcon (
227
+ private getContainmentIcon (
228
228
editor : TextEditor ,
229
229
selection : Selection ,
230
230
scopeType : ScopeType ,
@@ -276,7 +276,7 @@ class ScopeSupportTreeItem extends TreeItem {
276
276
constructor (
277
277
public readonly scopeTypeInfo : ScopeTypeInfo ,
278
278
isVisualized : boolean ,
279
- intersectionIcon : string | undefined ,
279
+ containmentIcon : string | undefined ,
280
280
) {
281
281
let label : string ;
282
282
let tooltip : string ;
@@ -303,8 +303,8 @@ class ScopeSupportTreeItem extends TreeItem {
303
303
304
304
this . tooltip = tooltip == null ? tooltip : new MarkdownString ( tooltip ) ;
305
305
this . description =
306
- intersectionIcon != null
307
- ? `${ intersectionIcon } ${ scopeTypeInfo . humanReadableName } `
306
+ containmentIcon != null
307
+ ? `${ containmentIcon } ${ scopeTypeInfo . humanReadableName } `
308
308
: scopeTypeInfo . humanReadableName ;
309
309
310
310
this . command = isVisualized
0 commit comments