product-example 2 linked patterns checked

Visual Studio Code default keyboard shortcuts reference

Documents default Undo and Redo commands, their keyboard shortcuts, and command identifiers in a desktop editor.

Read with a purpose

What this source can teach

Use this source to inspect a concrete implementation and the decisions visible in its context.

  1. Start with the original. Open the source and find the guidance or example relevant to your task.
  2. Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
  3. Check the setting. Compare the source's platform, people, and constraints with your own decision.

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Keyboard shortcut Choose keyboard shortcut when the design problem is accelerating one known command with a key combination, not helping users discover commands. A shortcut maps to one named command, focus target, or mode and uses the same command handler as visible controls. Supports command identifiers and platform keybindings in a keyboard-heavy editor.
Redo Choose redo when the user has just undone a reversible operation and may need to reapply it. Redo is unavailable until an undo places an operation on the redo stack. VS Code exposes undo and redo as command identifiers with platform keyboard shortcuts.

Comparisons supported by this source

Evidence Role

This source is treated as product-example evidence. Its value comes from the specific claims and setting described above.

Publisher: Microsoft. Last checked: .

Saved items