Skip to content

Commit 37eb06d

Browse files
authored
Removes "Show Moves" Menu Entry, as the move detection feature is still very experimental and shouldn't block the diff editor v2 release. (microsoft#188906)
1 parent 9adb70b commit 37eb06d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2.contribution.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ export class ToggleShowMovedCodeBlocks extends Action2 {
8080

8181
registerAction2(ToggleShowMovedCodeBlocks);
8282

83+
/*
84+
TODO@hediet add this back once move detection is more polished.
85+
Users can still enable this via settings.json (config.diffEditor.experimental.showMoves).
86+
8387
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
8488
command: {
8589
id: new ToggleShowMovedCodeBlocks().desc.id,
@@ -91,6 +95,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
9195
group: '1_diff',
9296
when: ContextKeyEqualsExpr.create('diffEditorVersion', 2)
9397
});
98+
*/
9499

95100
const diffEditorCategory: ILocalizedString = {
96101
value: localize('diffEditor', 'Diff Editor'),

0 commit comments

Comments
 (0)