Peek Definition in Visual Studio Code
EditingWindowsAlt+F12AltF12
MacOption+F12⌥F12
On Windows, press Alt + F12. On Mac, press Option + F12.
Ask your agent
Prompt
In Visual Studio Code, the shortcut to "Peek Definition" is Alt+F12 on Windows and Option+F12 on Mac. Check whether anything in my setup overrides it, and if I want a different key, change the binding for me.
Paste into Claude Code and it will do the rest.
Related Visual Studio Code shortcuts
- Go to DefinitionF12F12
- Open Definition to the sideCtrl+K then F12CtrlKthenF12
- Cut line (empty selection)Ctrl+XCtrlX
- Copy line (empty selection)Ctrl+CCtrlC
- Move line upAlt+UpAlt↑
- Move line downAlt+DownAlt↓
- Copy line upShift+Alt+UpShiftAlt↑
- Copy line downShift+Alt+DownShiftAlt↓
Questions
On Windows, press Alt + F12. On Mac, press Option + F12.