You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The [command](#Command) which should be run when the tree item is selected.
4059
+
*/
4060
+
command?: Command;
4061
+
4062
+
/**
4063
+
* [TreeItemCollapsibleState](#TreeItemCollapsibleState) of the tree item.
4064
+
*/
4065
+
collapsibleState?: TreeItemCollapsibleState;
4066
+
4067
+
/**
4068
+
* Context value of the tree item. This can be used to contribute item specific actions in the tree.
4069
+
* For example, a tree item is given a context value as `folder`. When contributing actions to `view/item/context`
4070
+
* using `menus` extension point, you can specify context value for key `viewItem` in `when` expression like `viewItem == folder`.
4071
+
* ```
4072
+
* "contributes": {
4073
+
* "menus": {
4074
+
* "view/item/context": [
4075
+
* {
4076
+
* "command": "extension.deleteFolder",
4077
+
* "when": "viewItem == folder"
4078
+
* }
4079
+
* ]
4080
+
* }
4081
+
* }
4082
+
* ```
4083
+
* This will show action `extension.deleteFolder` only for items with `contextValue` is `folder`.
4084
+
*/
4085
+
contextValue?: string;
4086
+
4087
+
/**
4088
+
* @param label A human-readable string describing this item
4089
+
* @param collapsibleState [TreeItemCollapsibleState](#TreeItemCollapsibleState) of the tree item. Default is [TreeItemCollapsibleState.None](#TreeItemCollapsibleState.None)
* The [command](#Command) which should be run when the tree item is selected.
393
-
*/
394
-
command?: Command;
395
-
396
-
/**
397
-
* [TreeItemCollapsibleState](#TreeItemCollapsibleState) of the tree item.
398
-
*/
399
-
collapsibleState?: TreeItemCollapsibleState;
400
-
401
-
/**
402
-
* Context value of the tree item. This can be used to contribute item specific actions in the tree.
403
-
* For example, a tree item is given a context value as `folder`. When contributing actions to `view/item/context`
404
-
* using `menus` extension point, you can specify context value for key `viewItem` in `when` expression like `viewItem == folder`.
405
-
* ```
406
-
* "contributes": {
407
-
* "menus": {
408
-
* "view/item/context": [
409
-
* {
410
-
* "command": "extension.deleteFolder",
411
-
* "when": "viewItem == folder"
412
-
* }
413
-
* ]
414
-
* }
415
-
* }
416
-
* ```
417
-
* This will show action `extension.deleteFolder` only for items with `contextValue` is `folder`.
418
-
*/
419
-
contextValue?: string;
420
-
421
-
/**
422
-
* @param label A human-readable string describing this item
423
-
* @param collapsibleState [TreeItemCollapsibleState](#TreeItemCollapsibleState) of the tree item. Default is [TreeItemCollapsibleState.None](#TreeItemCollapsibleState.None)
0 commit comments