提交 8d679fc6 编写于 作者: I isidor

explorerDecorationProvider also react on added roots

上级 60b9d1ba
......@@ -22,7 +22,7 @@ export class ExplorerDecorationsProvider implements IDecorationsProvider {
@IWorkspaceContextService contextService: IWorkspaceContextService
) {
contextService.onDidChangeWorkspaceFolders(e => {
this._onDidChange.fire(e.changed.map(wf => wf.uri));
this._onDidChange.fire(e.changed.concat(e.added).map(wf => wf.uri));
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册