What does Alt+F12 do?

In VS Code, Alt+F12 means: View the definition inline without leaving the file.

Last verified: Not yet independently verified

Where this shortcut applies

What does Alt+F12 do?
AppPlatformWhat it does
VS CodePlatform not independently verifiedView the definition inline without leaving the file
Verification pending
CursorPlatform not independently verifiedPeek at the definition inline without leaving the file
Verification pending

Full shortcut pages

Frequently asked questions

What does Alt+F12 do?
In VS Code, Alt+F12 means: View the definition inline without leaving the file.
Does this shortcut work the same way in every app?
No. The listed contexts include VS Code, Cursor. Check the table for each application and platform: the active window, keyboard layout and application settings determine which command receives the key press. An application being available on an operating system is not evidence that this exact binding works there.
What should I use on a Mac?
Use a macOS binding shown in the table, if one is recorded for your task and application. This page does not assume that replacing Ctrl with Cmd produces a working Mac shortcut. When an equivalent has not been independently verified, open the linked application reference and check its documented context before relying on it.