Interface IDiffEditorBaseOptions

Hierarchy

Properties

diffAlgorithm?: "smart" | "experimental"

Diff Algorithm

diffCodeLens?: boolean

Should the diff editor enable code lens? Defaults to false.

diffWordWrap?: "on" | "off" | "inherit"

Control the wrapping of the diff editor.

enableSplitViewResizing?: boolean

Allow the user to resize the diff editor split view. Defaults to true.

ignoreTrimWhitespace?: boolean

Compute the diff by ignoring leading/trailing whitespace Defaults to true.

maxComputationTime?: number

Timeout in milliseconds after which diff computation is cancelled. Defaults to 5000.

maxFileSize?: number

Maximum supported file size in MB. Defaults to 50.

originalEditable?: boolean

Original model should be editable? Defaults to false.

renderIndicators?: boolean

Render +/- indicators for added/deleted changes. Defaults to true.

renderMarginRevertIcon?: boolean

Shows icons in the glyph margin to revert changes. Default to true.

renderOverviewRuler?: boolean

Is the diff editor should render overview ruler Defaults to true

renderSideBySide?: boolean

Render the differences in two side-by-side editors. Defaults to true.