Allow extensions to specify custom tree view resoure type

The FileKind was previously guessed from the collapsability of the item,
extensions now have the capability to set it manually.

Fixes #43216
This commit is contained in:
Julien Roncaglia
2018-02-21 23:21:34 +01:00
parent 2d1f6d422b
commit 03caa411b5
6 changed files with 72 additions and 15 deletions

View File

@@ -620,6 +620,7 @@ export function createApiFactory(
WorkspaceEdit: extHostTypes.WorkspaceEdit,
ProgressLocation: extHostTypes.ProgressLocation,
TreeItemCollapsibleState: extHostTypes.TreeItemCollapsibleState,
ThemeIconCategory: extHostTypes.ThemeIconCategory,
TreeItem: extHostTypes.TreeItem,
ThemeColor: extHostTypes.ThemeColor,
// functions