emptyToRestore.push(...windowsToOpen.filter(w=>!w.workspacePath&&w.backupPath).map(w=>path.basename(w.backupPath)));// add empty windows with backupPath
emptyToRestore.push(...windowsToOpen.filter(w=>!w.workspacePath&&w.backupPath).map(w=>path.basename(w.backupPath)));// add empty workspaces with backupPath
@@ -235,12 +235,12 @@ Note that there can still be cases where this setting is ignored (e.g. when usin
'enum':['all','folders','one','none'],
'enumDescriptions':[
nls.localize({comment:['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key:'window.reopenFolders.all'},"Reopen all windows."),
nls.localize({comment:['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key:'window.reopenFolders.folders'},"Reopen all folders. Empty windows will not be restored."),
nls.localize({comment:['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key:'window.reopenFolders.folders'},"Reopen all folders. Empty workspaces will not be restored."),
nls.localize({comment:['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key:'window.reopenFolders.one'},"Reopen the last active window."),
nls.localize({comment:['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key:'window.reopenFolders.none'},"Never reopen a window. Always start with an empty one.")
],
'default':'one',
'description':nls.localize('restoreWindows',"Controls how windows are being reopened after a restart. Select 'none' to always start with an empty window, 'one' to reopen the last window you worked on, 'folders' to reopen all folders you had opened or 'all' to reopen all windows of your last session.")
'description':nls.localize('restoreWindows',"Controls how windows are being reopened after a restart. Select 'none' to always start with an empty workspace, 'one' to reopen the last window you worked on, 'folders' to reopen all folders you had opened or 'all' to reopen all windows of your last session.")