Zum Inhalt springen
Kitbay
Skill

context-menus

MITAktualisiert am 11. Nov. 2026195.341GitHub-Sterne

A contributor skill in the Visual Studio Code repository with rules for adding, changing or reviewing context menus and menu contributions in the workbench and the Agents window.

Was der Skill vermittelt

A contributor skill in the Visual Studio Code repository with rules for adding, changing or reviewing context menus and menu contributions in the workbench and the Agents window. Items go into one of five standard groups, such as navigation, state, organise, copy and manage, ordered by an explicit order value rather than by title, with destructive actions last. The same object should use the same menu groups on every surface, and any action shown on hover or in a toolbar must also appear in the context menu. Conditions hide actions that do not apply and disable ones that are briefly unavailable. Menus should stay within about five groups and fifteen items, with one submenu level and Title Case labels.

Funktionen

  • Place menu items in the standard groups
  • Order items and put destructive actions last
  • Keep menus consistent across surfaces
  • Check menu labels and size limits