提交 c410c946 编写于 作者: D Daniel Imms

Add files.hotExit setting

上级 bf316a50
......@@ -476,6 +476,7 @@ export interface IFilesConfiguration {
autoSaveDelay: number;
eol: string;
iconTheme: string;
hotExit: boolean;
};
}
......
......@@ -233,6 +233,12 @@ configurationRegistry.registerConfiguration({
'type': 'object',
'default': (platform.isLinux || platform.isMacintosh) ? { '**/.git/objects/**': true, '**/node_modules/**': true } : { '**/.git/objects/**': true },
'description': nls.localize('watcherExclude', "Configure glob patterns of file paths to exclude from file watching. Changing this setting requires a restart. When you experience Code consuming lots of cpu time on startup, you can exclude large folders to reduce the initial load.")
},
'files.hotExit': {
'type': 'boolean',
// TODO: Switch to true once sufficiently stable
'default': false,
'description': nls.localize('hotExit', "Controls whether unsaved files are restored after relaunching. If this is enabled there will be no prompt to save when exiting the editor.")
}
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册