Closed
Description
Implement contributed views those can be shown in Explorer as trees.
- Contribution point to describe a view
- API to register a tree data provider for the view
- Multi views explorer
Actions can be contributed to the following locations by giving proper when
clause
- View titlebar:
view/title
- On item:
view/item/context
Example:
"contributes": {
"menus": {
"view/title": [
{
"command": "extension.commandId",
"when": "view == viewId",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "extension.commandId",
"when": "view == viewId && viewItem == contextValue",
}
]
}
}
More
- Remember the view collapsible state and size
Deferred
- View visibility
- Extract icons from the resource Uri
- Tree state persistence
- Customizable location of the view inside explorer
- Get children in pages
- Ability to update the view label