提交 367d0adc 编写于 作者: R Rob Lourens

#57033 don't show notification on cmd+s

上级 5106fb50
......@@ -42,7 +42,6 @@ import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
import { IEditorService, SIDE_GROUP } from 'vs/workbench/services/editor/common/editorService';
import { IEditorGroupsService } from 'vs/workbench/services/group/common/editorGroupsService';
import { ILabelService } from 'vs/platform/label/common/label';
import { SettingsEditor2 } from 'vs/workbench/parts/preferences/browser/settingsEditor2';
// Commands
......@@ -162,11 +161,6 @@ function save(
// Just save
return textFileService.save(resource, { force: true /* force a change to the file to trigger external watchers if any */ });
} else if (resource && resource.scheme === Schemas.vscode) {
const activeControl = editorService.activeControl;
if (activeControl instanceof SettingsEditor2) {
activeControl.notifyNoSaveNeeded();
}
}
return TPromise.as(false);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册