Interface EditorSelection

Where in a file to land when opening it (R3-388). 1-indexed line, matching every diagnostic producer that feeds it (tsc, eslint, BuildError) and both VS Code and IntelliJ. A line past end-of-file CLAMPS to the last line rather than erroring — a diagnostic outlives the edit that shortened the file, and landing close beats refusing to navigate.

interface EditorSelection {
    column?: number;
    line: number;
}

Properties

Properties

column?: number
line: number