From 37eb06d64e006e000080d2ca776956c77a31a8da Mon Sep 17 00:00:00 2001 From: Henning Dieterichs Date: Wed, 26 Jul 2023 12:45:51 +0200 Subject: [PATCH] Removes "Show Moves" Menu Entry, as the move detection feature is still very experimental and shouldn't block the diff editor v2 release. (#188906) --- .../diffEditorWidget2/diffEditorWidget2.contribution.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2.contribution.ts b/src/vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2.contribution.ts index 2e9aaa55902..a8ef3758fee 100644 --- a/src/vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2.contribution.ts +++ b/src/vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2.contribution.ts @@ -80,6 +80,10 @@ export class ToggleShowMovedCodeBlocks extends Action2 { registerAction2(ToggleShowMovedCodeBlocks); +/* +TODO@hediet add this back once move detection is more polished. +Users can still enable this via settings.json (config.diffEditor.experimental.showMoves). + MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: new ToggleShowMovedCodeBlocks().desc.id, @@ -91,6 +95,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { group: '1_diff', when: ContextKeyEqualsExpr.create('diffEditorVersion', 2) }); +*/ const diffEditorCategory: ILocalizedString = { value: localize('diffEditor', 'Diff Editor'),