move editor.formatOnSave into editor category, #15290
This commit is contained in:
parent
c5b6a567f9
commit
2c9bafc134
1 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue