Skip to content

vscode: adopt the stable 1.106–1.128 UX APIs — quick-pick upgrades, ThemeIcon tab icon, tree-scroll check #1613

Open

Description

@amrmelsayed

Background

Depends on #1608 (engine floor to ^1.128). A sweep of the VS Code 1.106–1.128 release notes, verified against the official vscode.d.ts at the 1.128.0 tag, found a small set of stable API additions that map directly onto surfaces the extension already uses heavily (19 quick-pick call sites, the annotation-viewer webview panel, dense tree views). This issue adopts the cheap, zero-risk ones.

Changes

  1. Quick-pick upgrades (all finalized by 1.109, present in stable 1.128 typings):
    • QuickPickItem.resourceUri on file-oriented pickers — correct file-theme icons and label/description derivation for free.
    • QuickPick.prompt / InputBox.prompt — persistent instruction text under the input for guided pickers (builder selection, review-target selection), replacing instructions crammed into placeHolder.
    • QuickInputButton.location + checked — stateful toggle filter buttons inside pickers where filtering is useful (e.g. builders by state, held messages only). Adopt where a picker already wants a filter; do not invent filters for pickers that don't need them.
  2. Annotation-viewer tab icon: WebviewPanel.iconPath accepts a ThemeIcon since 1.110 — give the custom editor / webview panel a proper codicon tab icon.
  3. Tree-view check: 1.110 added horizontal scrolling with corrected inline-action positioning. No code expected; verify dense builder-tree rows (long labels + inline actions) render correctly under the new behavior and file anything that regressed.

Constraint

@types/vscode publishes sparsely: there is no 1.128 release; the nearest below is 1.125.0. Pin the devDependency there (all APIs above are ≤1.110, so they are fully typed in 1.125.0). engines.vscode stays ^1.128.0 per #1608 — typings below engines is fine; the reverse would not be.

Out of scope

Anything still proposed at 1.128 (tree MarkdownString labels, markdown alert syntax in comments, diff APIs) — tracked separately.

Activity

  1. added
    area/vscode
    on Sep 4, 2026
  2. amrmelsayed commented on Oct 4, 2026

    @amrmelsayed
    CollaboratorAuthor

    Note from the #1764 integration review (vscode architect, 2026-10-05): this issue is NOT blocked by the ~1.125.0 typings pin that #1608 lands. Every API it adopts (quick-pick resourceUri, prompt, QuickInputButton.location/checked, WebviewPanel.iconPath as ThemeIcon) was finalized by 1.110 and is visible in 1.125 typings. Do not wait for a 1.128 typings release; none will be published (the registry goes 1.125.0 -> 1.134.0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/vscode

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions