From 2c9bafc1344cc93cec6eb44203656c3b8341e0a5 Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Mon, 14 Nov 2016 13:07:37 +0100 Subject: [PATCH] move editor.formatOnSave into editor category, #15290 --- .../parts/files/browser/files.contribution.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/parts/files/browser/files.contribution.ts b/src/vs/workbench/parts/files/browser/files.contribution.ts index ee38eac3780..8b66a06a2b3 100644 --- a/src/vs/workbench/parts/files/browser/files.contribution.ts +++ b/src/vs/workbench/parts/files/browser/files.contribution.ts @@ -223,7 +223,16 @@ configurationRegistry.registerConfiguration({ // 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.") - }, + } + } +}); + +configurationRegistry.registerConfiguration({ + id: 'editor', + order: 5, + type: 'object', + title: nls.localize('editorConfigurationTitle', "Editor"), + properties: { 'editor.formatOnSave': { 'type': 'boolean', 'default': false, @@ -259,4 +268,4 @@ configurationRegistry.registerConfiguration({ 'default': true } } -}); \ No newline at end of file +}); -- GitLab