OptionalcanWhether this item can be edited by the user.
OptionalcollapsibleTreeItemCollapsibleState of the tree item.
OptionalcontextContext value of the tree item. This can be used to contribute item specific actions in the tree.
For example, a tree item is given a context value as folder. When contributing actions to view/item/context
using menus extension point, you can specify context value for key viewItem in when expression like viewItem == folder.
"contributes": {
"menus": {
"view/item/context": [
{
"command": "extension.deleteFolder",
"when": "viewItem == folder"
}
]
}
}
This will show action extension.deleteFolder only for items with contextValue is folder.
OptionaldescriptionA human-readable string which is rendered less prominent.
A human-readable string describing this item.
An item from the DebugVisualizationTree