Go to Definition in VS Code

From the VS Code Shortcuts cheat sheet · Navigation · verified Jul 2026

Go to Definition

Jump to symbol definition

text
F12 (Windows)
F12 (Mac)
💡 Navigate to where symbol is defined
⚡ Works across files and modules
🔍 IntelliSense powered navigation
navigation

Continue with VS Code Shortcuts

Save the full cheat sheet or work through every related task.

More VS Code tasks

Back to the full VS Code Shortcuts cheat sheet