We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d679a17 commit 646133cCopy full SHA for 646133c
1 file changed
src/vs/code/electron-main/windows.ts
@@ -373,7 +373,7 @@ export class WindowsManager implements IWindowsMainService {
373
openFolderInNewWindow = (windowConfig.openFoldersInNewWindow === 'on');
374
}
375
376
- // Handle files to open/diff or to create when we dont open a folder
+ // Handle files to open/diff or to create when we dont open a folder and we do not restore any folder/untitled from hot-exit
377
if (!foldersToOpen.length && !foldersToRestore.length && !emptyToRestore.length && (filesToOpen.length > 0 || filesToCreate.length > 0 || filesToDiff.length > 0)) {
378
379
// let the user settings override how files are open in a new window or same window unless we are forced (not for extension development though)
0 commit comments