Optional accessibilityOptional compactIf set, the diff editor is optimized for small views.
Defaults to false.
Optional diffDiff Algorithm
Optional diffShould the diff editor enable code lens? Defaults to false.
Optional diffControl the wrapping of the diff editor.
Optional enableAllow the user to resize the diff editor split view. Defaults to true.
Optional experimentalOptional showOptional showDefaults to false.
Optional useOnly applies when renderSideBySide is set to false.
Optional hideOptional contextOptional enabled?: booleanOptional minimumOptional revealOptional ignoreCompute the diff by ignoring leading/trailing whitespace Defaults to true.
Optional isIs the diff editor inside another editor Defaults to false
Optional maxTimeout in milliseconds after which diff computation is cancelled. Defaults to 5000.
Optional maxMaximum supported file size in MB. Defaults to 50.
Optional onlyIf the diff editor should only show the difference review mode.
Optional originalOriginal model should be editable? Defaults to false.
Optional renderIndicates if the gutter menu should be rendered.
Optional renderRender +/- indicators for added/deleted changes. Defaults to true.
Optional renderShows icons in the glyph margin to revert changes. Default to true.
Optional renderIs the diff editor should render overview ruler Defaults to true
Optional renderRender the differences in two side-by-side editors. Defaults to true.
Optional renderWhen renderSideBySide is enabled, useInlineViewWhenSpaceIsLimited is set,
and the diff editor has a width less than renderSideBySideInlineBreakpoint, the inline view is used.
Optional splitThe default ratio when rendering side-by-side editors. Must be a number between 0 and 1, min sizes apply. Defaults to 0.5
Optional useWhen renderSideBySide is enabled, useInlineViewWhenSpaceIsLimited is set,
and the diff editor has a width less than renderSideBySideInlineBreakpoint, the inline view is used.
Whether the diff editor aria label should be verbose.