Path: blob/main/src/vs/editor/common/config/diffEditor.ts
3294 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45import { ValidDiffEditorBaseOptions } from './editorOptions.js';67export const diffEditorDefaultOptions = {8enableSplitViewResizing: true,9splitViewDefaultRatio: 0.5,10renderSideBySide: true,11renderMarginRevertIcon: true,12renderGutterMenu: true,13maxComputationTime: 5000,14maxFileSize: 50,15ignoreTrimWhitespace: true,16renderIndicators: true,17originalEditable: false,18diffCodeLens: false,19renderOverviewRuler: true,20diffWordWrap: 'inherit',21diffAlgorithm: 'advanced',22accessibilityVerbose: false,23experimental: {24showMoves: false,25showEmptyDecorations: true,26useTrueInlineView: false,27},28hideUnchangedRegions: {29enabled: false,30contextLineCount: 3,31minimumLineCount: 3,32revealLineCount: 20,33},34isInEmbeddedEditor: false,35onlyShowAccessibleDiffViewer: false,36renderSideBySideInlineBreakpoint: 900,37useInlineViewWhenSpaceIsLimited: true,38compactMode: false,39} satisfies ValidDiffEditorBaseOptions;404142