mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
web - introduce window.confirmBeforeQuit setting and enable by default
This commit is contained in:
@@ -401,6 +401,13 @@ import { workbenchConfigurationNodeBase } from 'vs/workbench/common/configuratio
|
||||
'default': 'default',
|
||||
'scope': ConfigurationScope.APPLICATION,
|
||||
'markdownDescription': nls.localize('openFoldersInNewWindow', "Controls whether folders should open in a new window or replace the last active window.\nNote that there can still be cases where this setting is ignored (e.g. when using the `--new-window` or `--reuse-window` command line option).")
|
||||
},
|
||||
'window.confirmBeforeQuit': {
|
||||
'type': 'boolean',
|
||||
'default': isWeb,
|
||||
'description': nls.localize('confirmBeforeQuitWeb', "Controls whether to ask for confirmation before closing the browser tab or window."),
|
||||
'scope': ConfigurationScope.APPLICATION,
|
||||
'included': isWeb
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user