提交 3f18825c 编写于 作者: B Benjamin Pasero

handle openFilesInNewWindow properly on main side

上级 716981d3
......@@ -358,9 +358,9 @@ export class WindowsManager implements IWindowsMainService {
openFilesInNewWindow = true;
} else {
openFilesInNewWindow = openConfig.preferNewWindow;
if (openFilesInNewWindow && !openConfig.cli.extensionDevelopmentPath) { // can be overriden via settings (not for PDE though!)
if (openFilesInNewWindow && !openConfig.cli.extensionDevelopmentPath) { // can be overriden via settings (not for extension development though!)
const windowConfig = this.configurationService.getConfiguration<IWindowSettings>('window');
if (windowConfig && !windowConfig.openFilesInNewWindow) {
if (windowConfig && windowConfig.openFilesInNewWindow === false) {
openFilesInNewWindow = false; // do not open in new window if user configured this explicitly
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册