IDE

🟪Visual Studio Keyboard Shortcuts

28 essential shortcuts for Visual Studio

General

ShortcutAction
Ctrl+QQuick Launch (search everything)
Ctrl+Shift+FFind in files

Navigation

ShortcutAction
Ctrl+,Navigate to (go to file/symbol)
F12Go to definition
Ctrl+F12Go to implementation
Shift+F12Find all references
Ctrl+-/Ctrl+Shift+-Navigate back / forward
Ctrl+M, Ctrl+OCollapse all regions
Ctrl+M, Ctrl+LToggle all outlining
Ctrl+GGo to line number

Editing

ShortcutAction
Ctrl+SpaceIntelliSense completion
Ctrl+.Quick Actions and Refactorings
Ctrl+K, Ctrl+DFormat document
Ctrl+K, Ctrl+CComment selected lines
Ctrl+K, Ctrl+UUncomment selected lines
Ctrl+Shift+VPaste from clipboard ring
Ctrl+DDuplicate line
Ctrl+LCut entire line
Alt+Up/Alt+DownMove line up / down

Refactoring

ShortcutAction
Ctrl+R, Ctrl+RRename symbol
Ctrl+R, Ctrl+MExtract method

Debugging

ShortcutAction
F5Start debugging
Ctrl+F5Start without debugging
F9Toggle breakpoint
F10Step over
F11Step into
Shift+F5Stop debugging

Build

ShortcutAction
Ctrl+Shift+BBuild solution

About Visual Studio Shortcuts

Visual Studio is Microsoft's full-featured IDE primarily used for .NET, C++, and C# development on Windows (and macOS for select workloads). It includes an advanced debugger, profiler, IntelliSense code completion, integrated testing tools, Azure integration, and a powerful extension marketplace. Visual Studio is the go-to IDE for enterprise .NET development, game development with Unity, and Windows desktop applications.

This reference covers 28 essential Visual Studio keyboard shortcuts organized across 6 categories: General, Navigation, Editing, and more. Each shortcut lists both macOS and Windows/Linux key combinations where applicable, making it easy to find the right key combo regardless of your operating system.

Learning keyboard shortcuts is one of the highest-leverage investments you can make in your daily workflow. Studies show that developers and designers who rely on keyboard shortcuts are measurably faster at common tasks. Rather than memorizing every shortcut at once, focus on the ones you use most frequently and gradually expand your repertoire.

Bookmark this page for quick reference whenever you need to look up a Visual Studio shortcut. The categorized layout makes it easy to find shortcuts by their function, whether you need navigation, editing, or specialized commands.

Related apps