mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
Support title actions in tree explorer
This commit is contained in:
@@ -30,6 +30,7 @@ export class MainThreadTreeExplorers extends MainThreadTreeExplorersShape {
|
||||
const onError = err => { this.messageService.show(Severity.Error, err); };
|
||||
|
||||
this.treeExplorerService.registerTreeExplorerNodeProvider(providerId, {
|
||||
id: providerId,
|
||||
provideRootNode: (): TPromise<InternalTreeExplorerNodeContent> => {
|
||||
return this._proxy.$provideRootNode(providerId).then(rootNode => rootNode, onError);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user