Interface IEditorMinimapOptions

Configuration options for editor minimap

interface IEditorMinimapOptions {
    autohide?: boolean;
    enabled?: boolean;
    maxColumn?: number;
    renderCharacters?: boolean;
    scale?: number;
    sectionHeaderFontSize?: number;
    showMarkSectionHeaders?: boolean;
    showRegionSectionHeaders?: boolean;
    showSlider?: "always" | "mouseover";
    side?: "right" | "left";
    size?: "proportional" | "fill" | "fit";
}

Properties

autohide?: boolean

Control the rendering of minimap.

enabled?: boolean

Enable the rendering of the minimap. Defaults to true.

maxColumn?: number

Limit the width of the minimap to render at most a certain number of columns. Defaults to 120.

renderCharacters?: boolean

Render the actual text on a line (as opposed to color blocks). Defaults to true.

scale?: number

Relative size of the font in the minimap. Defaults to 1.

sectionHeaderFontSize?: number

Font size of section headers. Defaults to 9.

showMarkSectionHeaders?: boolean

Whether to show MARK: comments as section headers. Defaults to true.

showRegionSectionHeaders?: boolean

Whether to show named regions as section headers. Defaults to true.

showSlider?: "always" | "mouseover"

Control the rendering of the minimap slider. Defaults to 'mouseover'.

side?: "right" | "left"

Control the side of the minimap in editor. Defaults to 'right'.

size?: "proportional" | "fill" | "fit"

Control the minimap rendering mode. Defaults to 'actual'.