Peek definition: the shortcut in both apps
On Windows it is usually Alt+F12 (2 of 2 apps). The table shows where each app agrees and where it differs.
| App | Mac | Windows | Linux |
|---|---|---|---|
| Visual StudioPeek the definition | — | AltF12 | — |
| VS CodePeek definition | OptionF12 | AltF12 | CtrlShiftF10 |
How the apps compare
- Mac: Option+F12 in VS Code.
- Windows: every app here uses AltF12.
- Linux: Ctrl+Shift+F10 in VS Code.
Learn it by pressing it: Visual Studio shortcuts practice or VS Code shortcuts practice.