提交 b3e92880 编写于 作者: B Benjamin Pasero

Unable to open workspace settings if "workbench.settings.openDefaultSettings": false (fixes #11888)

上级 a23e82d3
......@@ -110,10 +110,11 @@ export class BaseOpenSettingsAction extends BaseTwoEditorsAction {
return this.openTwoEditors(DefaultSettingsInput.getInstance(this.instantiationService, this.configurationService), settingsResource, emptySettingsContents);
}
return this.editorService.openEditor({
// Create as needed and open in editor
return this.createIfNotExists(settingsResource, emptySettingsContents).then(() => this.editorService.openEditor({
resource: settingsResource,
options: { pinned: true }
}).then(() => null);
}).then(() => null));
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册