diff --git a/src/vs/workbench/api/node/mainThreadSaveParticipant.ts b/src/vs/workbench/api/node/mainThreadSaveParticipant.ts index 72faf6f7b70..22669230b3c 100644 --- a/src/vs/workbench/api/node/mainThreadSaveParticipant.ts +++ b/src/vs/workbench/api/node/mainThreadSaveParticipant.ts @@ -86,7 +86,7 @@ class FormatOnSaveParticipant implements ISaveParticipant { participate(editorModel: ITextFileEditorModel, env: { isAutoSaved: boolean }): TPromise { - if (env.isAutoSaved || !this._configurationService.lookup('files.formatOnSave').value) { + if (env.isAutoSaved || !this._configurationService.lookup('editor.formatOnSave').value) { return; }