Popular Keyboard Shortcuts
Main shortcuts used globally throughout Visual Studio
Build
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + ⇧Shift + B | Solution Build | Compile the entire solution with dependency checking and build all projects |
| Ctrl + Break | Cancel | Interrupt the current build or compilation operation |
| Ctrl + F7 | Compile | Compile only the current active file without building the entire solution |
| Alt + F11 | Run Code Analysis in Solution | Launch static code analysis to check quality and find errors throughout the solution |
Debug
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + B | Function Breakpoint | Set or clear a function breakpoint to stop execution by function name |
| Ctrl + Alt + Break | Break All | Immediately interrupt all debugged application threads |
| Ctrl + ⇧Shift + F9 | Delete All Breakpoints | Completely remove all set breakpoints throughout the solution |
| Ctrl + Alt + E | Exceptions | Open the exception settings window to manage behavior for various error types |
| Ctrl + Alt + Q / ⇧Shift + F9 | Quick Watch | Open the Quick Watch window to evaluate variable values during debugging |
| Ctrl + ⇧Shift + F5 | Restart | Restart debugging from the beginning, clearing all breakpoints and application state |
| Ctrl + F10 | Run to Cursor | Quickly execute code to the line where the cursor is located, skipping intermediate instructions |
| Ctrl + ⇧Shift + F10 | Set Next Statement | Change execution order by moving the next instruction to the current cursor position |
| F5 | Start | Start the application in debug mode with step-by-step execution analysis |
| Ctrl + F5 | Start Without Debugging | Run the application for execution without attaching a debugger and state control |
| F11 | Step Into | Step-by-step code execution with entry into called functions and methods for detailed analysis |
| ⇧Shift + F11 | Step Out | Complete execution of the current function and return to the calling code |
| F10 | Step Over | Step-by-step code execution without entering functions, executing them as a single unit |
| ⇧Shift + F5 | Stop Debugging | Completely stop the current debugging session and terminate the running application |
| F9 | Toggle Breakpoint | Add or remove a breakpoint on the current code line to stop execution |
Edit
| Hotkey | Name | Description |
|---|---|---|
| ⏎Enter / ⇧Shift + ⏎Enter | Split Line | Insert an empty line |
| Ctrl + M, Ctrl + O | Minimize to Definitions | Collapse all code to class/method definitions |
| Ctrl + K, Ctrl + C | Comment Selection | Comment out the selected block |
| Alt + →Right / Ctrl + Space | Complete Word | IntelliSense auto-completion |
| Ctrl + C / Ctrl + Insert | Copy | Copy to clipboard |
| Ctrl + X / ⇧Shift + Delete | Cut | Cut to clipboard |
| Delete / ⇧Shift + Delete | Delete | Delete character or selection |
| Ctrl + F | Find | Open search panel |
| ⇧Shift + F12 | Find All References | Find all references to the selected symbol |
| Ctrl + ⇧Shift + F | Find in Files | Search across the entire solution |
| F3 | Find Next | Find next occurrence |
| Ctrl + F3 | Find Next Selected | Find next selected text |
| Ctrl + K, Ctrl + D | Format Document | Format the entire document |
| Ctrl + K, Ctrl + F | Format Selection | Format the selected text |
| Ctrl + G | Goto Line | Go to a specific line |
| Ctrl + F12 | Go to Declaration | Go to symbol declaration |
| ⏎Enter / ⇧Shift + ⏎Enter | Split Line | Insert a new empty line above or below the cursor position while preserving indentation |
| Ctrl + M, Ctrl + O | Minimize to Definitions | Collapse all code, leaving only class, method, and namespace definitions visible |
| Ctrl + K, Ctrl + C | Comment Selection | Add a comment to the selected code block to ignore it during compilation |
| Alt + →Right / Ctrl + Space | Complete Word | Activate IntelliSense for auto-completion of type names, methods, properties, and variables |
| Ctrl + C / Ctrl + Insert | Copy | Copy selected text or element to the system clipboard without removing the original |
| Ctrl + X / ⇧Shift + Delete | Cut | Remove selected text and place it in the system clipboard for future pasting |
| Delete / ⇧Shift + Delete | Delete | Delete the character to the right of the cursor or fully deselect text |
| Ctrl + F | Find | Open the search panel to find text in the current document with highlighting |
| ⇧Shift + F12 | Find All References | Find all uses of the selected symbol, method, or variable throughout the project |
| Ctrl + ⇧Shift + F | Find in Files | Open the search across all solution files with the ability to specify patterns and encodings |
| F3 | Find Next | Go to the next occurrence of the found text in the current document |
| Ctrl + F3 | Find Next Selected | Add the next occurrence of the current selection to the search list |
| Ctrl + K, Ctrl + D | Format Document | Format the entire document according to the project's code style settings |
| Ctrl + K, Ctrl + F | Format Selection | Format only the selected code block according to formatting rules |
| Ctrl + G | Goto Line | Open dialog to go to a specific line and column in the current document |
| Ctrl + F12 | Go to Declaration | Go to the symbol declaration location without navigating from the usage location |
| F12 | Go to Definition | Instantly navigate to the symbol, method, or class definition in the code explorer |
| Ctrl + D | Goto Search with List | Open navigation through search results with the ability to choose the desired occurrence |
| F8 | Goto Next Location | Go to the next saved cursor position in the navigation history |
| Ctrl + K, Ctrl + X | Insert Code Snippet | Insert a saved code snippet or encoded snippet at the current position |
| Ctrl + L | Cut Line | Delete the current code line and place it in the clipboard |
| ⇧Shift + Alt + →Right | Extend Selection Down | Extend multi-line selection by one line down for simultaneous editing |
| Ctrl + ⏎Enter | Open Line Above | Insert a new empty line above the cursor position while preserving indentation |
| Ctrl + J / Ctrl + K, L | Member List | Show IntelliSense member list with method and property hints |
| Ctrl + , | Goto Anything | Open navigation to go to any symbol, type, or member in the project |
| Ctrl + ⇧Shift + G | Open File | Open quick dialog to navigate to any file in the project by name or path |
| Ctrl + ⇧Shift + Space / Ctrl + K, P | Parameter Information | Show hint with method parameters, its signature and type descriptions |
| Ctrl + V / ⇧Shift + Insert | Paste | Paste clipboard content at the current cursor position |
| Alt + F12 | Peek | Show a quick hint with symbol definition without navigating from the usage location |
| Ctrl + Y / ⇧Shift + Alt + ⌫Backspace / Ctrl + ⇧Shift + Z | Redo | Repeat the last undone action in the code editor |
| Ctrl + H | Replace | Open replace panel to find and replace text in the current document |
| Ctrl + A | Select All | Select all content text in the current document or element |
| Ctrl + W | Select Current Word | Select the current word under the cursor and all its subsequent occurrences |
| Esc | Deselect | Deselect the current text and return to the cursor position |
| Ctrl + R, Ctrl + G | Remove Duplicates | Remove duplicate lines from selection or entire document with sorting |
| Ctrl + K, Ctrl + S | Surround With | Surround selected code with a construct: if, try-catch, for, using, or other block |
| ⇧Shift + Tab | Indent Left | Decrease indentation of selected lines by one tab step |
| Ctrl + M, Ctrl + L | Toggle All Outlining | Expand or collapse all outlineable regions and code blocks in the document |
| Ctrl + K, Ctrl + K | Toggle Bookmark | Set or clear a bookmark on the current line for quick return |
| Ctrl + Alt + Space | Completion Mode Toggle | Toggle IntelliSense completion mode: standard or smart |
| Ctrl + / / Ctrl + K, Ctrl + / | Toggle Comment | Add or remove a single-line comment for the current line or selection |
| Ctrl + M, Ctrl + M | Toggle Outline | Expand or collapse the code region around the current line |
| Ctrl + K, Ctrl + U | Uncomment Selection | Remove comments from selected lines, returning code to executable state |
| Ctrl + Z / Alt + ⌫Backspace | Undo | Undo the last performed action in the editor, restoring the previous state |
| Ctrl + Delete | Delete Word Right | Delete the word to the right of the cursor to the beginning of the next word with space |
| Ctrl + ⌫Backspace | Delete Word Left | Delete the word to the left of the cursor to the end of the previous word with space |
| ⇧Shift + Alt + A | Add Existing Item | Add an existing file from the file system to the current project or solution without copying structure |
| Ctrl + ⇧Shift + A | Add New Item | Open dialog to add a new item with template selection to the current project or solution |
Refactoring
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + R, Ctrl + M | Extract Method | Extract the selected code block into a new method with automatic parameter and return type detection |
Tools
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + Alt + P | Attach to Process | Attach the Visual Studio debugger to an arbitrary process to debug a running application |
View
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + ⇧Shift + C | Class View | Open the Class View explorer to view the type and member hierarchy in the project |
| F2 | Rename | Rename the selected code element, updating all references in the project |
| Ctrl + \, Ctrl + E / Ctrl + \, E | Error List | Open the panel with a list of all compilation errors, warnings, and messages in the solution |
| Ctrl + - | Back | Return to the previous cursor position in the navigation history |
| Ctrl + ⇧Shift + - | Forward | Go to the next cursor position after navigating back |
| Ctrl + Alt + J | Object Browser | Open Object Browser to view all types, methods, and members in loaded assemblies |
| Ctrl + Alt + O | Output | Open the Output window to view compilation messages, debugging, and system output |
| F4 | Properties Window | Open the Properties window to view and modify properties of the selected element |
| F5 | Refresh | Refresh the content of the current window or panel in Visual Studio |
| Ctrl + Alt + S | Server Explorer | Open Server Explorer to manage connections to databases and services |
| Ctrl + . / ⇧Shift + Alt + F10 | Show Smart Tag | Show the quick actions and intelligent recommendations panel for the current context |
| Ctrl + Alt + L | Solution Explorer | Open Solution Explorer to view the project structure and manage solution files |
| Ctrl + \, Ctrl + M | TFS Team Explorer | Open Team Explorer to manage teams, code sources, and the development process |
| Ctrl + Alt + X | Toolbox | Open Toolbox with a set of draggable elements and components for development |
| ⏎Enter / F7 | View Code | Switch between code view and design view for the current open file |
| ⇧Shift + F7 | View Designer | Switch to the design view of the associated element from code |
Window
| Hotkey | Name | Description |
|---|---|---|
| Esc | Activate Document Window | Remove focus from toolbars and activate the document window for editing |
| Ctrl + F4 | Close Document Window | Close the active document tab without closing the entire Visual Studio application |
| Ctrl + F6 | Next Document Window | Switch focus to the next open document in the current MDI window |
| Ctrl + Tab | Next Document Window Navigation | Open a navigation palette to quickly switch between open documents |
| F6 | Next Split View | Move focus to the next split document window area |
Global Keyboard Shortcuts
Keyboard shortcuts applied globally in any Visual Studio window
Analysis
| Hotkey | Name | Description |
|---|---|---|
| ⇧Shift + Alt + 3 | Back | Returns the cursor to the previous position in the navigation history, allowing you to quickly return to the previous place of editing or viewing code. This function works as a navigation journal, recording all places where you moved while working with code, and allows you to sequentially move back through this history |
| ⇧Shift + Alt + 4 | Forward | Returns the cursor to the next position in the navigation history after navigating back, restoring access to previous code elements. Works in pairs with 'Back' and is available when you have made at least one back navigation in the navigation history |
Architecture
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + \, Ctrl + N | New Diagram | Creates a new empty architecture diagram (Architecture Diagram) for visual design of component structure, modules, and their interrelationships in the project. Allows creating high-level application architecture diagrams, defining dependencies between components, and documenting architecture decisions |
Azure
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + Num + *, Ctrl + R | Retry Mobile Service Script Operation | Retries the last Azure Mobile Service script script operation, allowing quick restart without re-entering parameters. Useful when testing and debugging cloud mobile application server scripts |
| Ctrl + Num + *, Ctrl + D | View Mobile Service Script Error | Opens a panel with details of Azure Mobile Service script execution errors for diagnosis and resolution. Displays call stack, timestamp, and detailed description of the error that occurred |
Build
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + B | Build Selection | Select target build |
| Ctrl + ⇧Shift + B | Solution Build | Compile the entire solution with dependency checking between projects and building all components. Before building, checks the relevance of dependent projects and updates them if necessary |
| Ctrl + Break | Cancel | Stop the current ongoing build or compilation operation. Allows interrupting a lengthy compilation process if it has become unnecessary |
| Ctrl + F7 | Compile | Compile only the current active file without building the entire solution. Faster than a full build, but checks only one file |
| Alt + F11 | Code Analysis in Solution | Run static code analysis to check quality and find errors throughout the solution. Identifies potential problems, vulnerabilities, and style convention violations |
Class View Context Menu
| Hotkey | Name | Description |
|---|---|---|
| Alt + ⏎Enter | Properties | Open the properties panel (Properties) for the selected type, method, or class member in the Class View representation. Allows viewing, configuring, and changing all attributes, properties, and parameters of the selected code element in real time |
Debug
| Hotkey | Name | Description |
|---|---|---|
| Alt + F10 | Code Gen (Apply Code Changes) | Apply code changes during debugging by generating new code based on current variables and program state. Allows updating variable values without stopping debugging and continuing with actual data |
| Ctrl + Alt + P | Attach to Process | Open the dialog to connect the debugger to any running process on the local or remote computer. Supports code types: managed, native, kernel, and kernel code. Allows debugging processes without restarting the application |
| Ctrl + Alt + V, A | Autos | Open the Autos window to display variables in the current and previous code lines. Shows changes in variable values between debugging steps and their types for quick analysis |
| Ctrl + Alt + Break | Break All | Interrupt execution of all threads and tasks in the application without stopping the debugger. Allows investigating the program state at any point of execution, viewing all call stacks and variables without continuing program work |
| Ctrl + Alt + B | Breakpoints | Open a window with a complete list of all set breakpoints in the project. Allows managing conditions, filters, actions, and position of each breakpoint, as well as enabling/disabling them individually |
| Ctrl + Alt + C | Call Stack | Open the call stack window, showing the sequence of functions and methods that led to the current execution point. Allows navigating to any call level and seeing local variables at each level |
| Ctrl + ⇧Shift + F9 | Delete All Breakpoints | Completely remove all set breakpoints throughout the project. Useful when clearing debugging data before a new run or working with a clean debugging state |
| Alt + F2 | Launch Diagnostics | Launch a diagnostic tool to analyze application performance, memory usage, and resources. Helps identify memory leaks, bottlenecks, and code efficiency issues |
| Ctrl + Alt + D | Disassembly | Open the disassembly window displaying machine code and assembly instructions for the current debugging position. Necessary for analyzing low-level issues, optimization, and understanding how code works at the processor level |
| Ctrl + Alt + V, D | DOM Explorer | Open a tool for analyzing and debugging HTML structure and CSS styles of web pages. Allows exploring page elements, viewing their properties, and applying changes in real time |
| Ctrl + F9 | Enable/Disable Breakpoint | Enable or disable the selected breakpoint without removing it. Useful when temporarily needing to ignore a stop in a certain code location without removing the breakpoint itself |
| Ctrl + Alt + E | Exceptions | Open exception settings window to manage debugger behavior when errors occur. Allows configuring which exceptions should cause stopping, logging, or ignoring |
| Ctrl + K, B / Ctrl + B | Function Breakpoint | Set a breakpoint on a specific function call by name. Stops on the first call to the function, regardless of which file or module it is called from |
| Ctrl + ⇧Shift + F11 | IntelliTrace Previous | Move to the previously recorded IntelliTrace event to analyze the program state in the past. IntelliTrace automatically records events and function calls during execution |
| Alt + F5 | Launch Diagnostics | Launch built-in diagnostic tool for monitoring performance, memory usage, CPU, and other metrics in real time during debugging |
| Ctrl + Alt + I | Immediate Window | Open a window for executing arbitrary expressions, commands, and functions during debugging. Allows testing code, changing variable values, and calling methods without restarting the application |
| Ctrl + Alt + Y, T | IntelliTrace Calls | Open a window with recorded function and method calls recorded by IntelliTrace. Allows viewing the entire call hierarchy and analyzing component interactions in the application |
| Ctrl + Alt + Y, F | IntelliTrace Events | Open a window with a list of all recorded IntelliTrace events. Includes system events, exceptions, and other important moments of program execution |
| Ctrl + Alt + V, C | JavaScript Console | Open a console for executing JavaScript code in the context of the debugged web application. Allows testing scripts and interacting with the DOM in real time |
| Ctrl + Alt + V, L | Locals | Open the Locals window to display all local variables in the current function. Shows names, types, and current values of variables with the ability to change them during debugging |
| Ctrl + 5 | Processes List | Open a list of all processes related to the debugged application. Allows switching between processes for their simultaneous debugging |
| Ctrl + 7 | Frame Stack List | Open a list of all stack frames at the current execution point. Each frame contains local variables and call context for a specific level |
| Ctrl + 6 | Threads List | Open a list of all execution threads in the application. Allows seeing the status of each thread and switching between them during debugging |
| Ctrl + 8 | Toggle Marked Thread | Mark or unmark the current thread for quick display of only marked threads in the threads list |
| Ctrl + 9 | Toggle Marked Threads | Toggle marking of all displayed threads simultaneously. Used for filtering and focusing on important threads |
| Ctrl + Alt + M, 1 | Memory 1 | Open memory content viewing window #1. Allows viewing and editing raw memory bytes at specified addresses during debugging |
| Ctrl + Alt + M, 2 | Memory 2 | Open memory content viewing window #2 to compare data with Memory 1. Useful for tracking memory changes |
| Ctrl + Alt + M, 3 | Memory 3 | Open memory content viewing window #3 for extended analysis of data in the application memory |
| Ctrl + Alt + M, 4 | Memory 4 | Open memory content viewing window #4 for the full set of four application memory analysis windows |
| Ctrl + Alt + U | Modules | Open a window with a list of all loaded modules, libraries, and DLLs in the debugged application. Shows paths, addresses, and versions of each module |
| Ctrl + ⇧Shift + D, S | Parallel Stacks | Open the Parallel Stacks window to visualize call stacks of all threads as a diagram. Allows analyzing parallel execution and deadlocks |
| Ctrl + ⇧Shift + D, 1–4 | Parallel Bars | Open Parallel Bars windows to display execution timelines for each thread. Useful for analyzing synchronization and performance of multi-threaded applications |
| Ctrl + Alt + Z | Processes | Open a window with a list of all debugger processes with detailed information about each, including resources, state, and modules |
| ⇧Shift + F9 / Ctrl + Alt + Q | Quick Watch | Open a Quick Watch dialog to evaluate the value of an expression under the cursor. Allows adding expressions to the watch list and executing them during debugging |
| ⇧Shift + Alt + P | Reattach Debugger | Reconnect the debugger to the process after disconnecting. Useful when the debugger accidentally loses connection with the process |
| Ctrl + ⇧Shift + R | Refresh windowsapp | Refresh windowsapp process information in the debugger, re-read symbols and modules for correct debugging work |
| Ctrl + Alt + G | Registers | Open a window with current processor register values. Necessary for low-level debugging and understanding the CPU state at the stop moment |
| Ctrl + ⇧Shift + F5 | Restart | Restart debugging from the beginning, clearing all breakpoints and program state. Note: duplicates Shift+F5 for stopping debugging |
| Ctrl + F10 | Run to Cursor | Quickly execute code to the current cursor position without step-by-step traversal. Allows instantly getting to the needed line, skipping all previous code |
| Ctrl + ⇧Shift + F10 | Set Next Statement | Change execution order by moving the next executing instruction to another code line. Allows re-reading code and avoiding re-execution of already processed code |
| Ctrl + ⇧Shift + ` | Call Stack on Code Map | Display the visual call stack directly on the Code Map (Code Map). Helps understand the relationship between function calls and their location in the project |
| Alt + Num + * | Next Instruction | Go to the next executable instruction in the disassembled code. Useful during low-level debugging and machine code analysis |
| F5 | Start Debugging | Start the application with the debugger activated. This is the main combination for starting debugging, setting breakpoints and step-by-step execution control |
| Ctrl + F5 | Start Without Debugging | Start the application in normal mode without attaching a debugger. Used for testing final program work without the influence of debugging tools |
| F11 | Step Into | Step-by-step code execution with entry into called functions and methods. Allows detailed exploration of the internal logic of each call |
| Ctrl + Alt + F11 | Step Into Specific | Step into execution with the ability to choose a specific process or thread for step-by-step traversal. Allows detailed debugging of certain parts of a multi-threaded application |
| ⇧Shift + Alt + F11 | Step Into Specific Process | Choose a specific process for step-by-step execution. Opens a dialog to choose from available processes for detailed debugging |
| ⇧Shift + F11 | Step Out | Complete execution of the current function and return to the calling code. Executes all remaining instructions of the function and stops at the call line |
| Ctrl + ⇧Shift + Alt + F11 | Step Current Process | Step-by-step execution of only the current process thread, ignoring other threads. Useful for isolated debugging of individual components |
| F10 | Step Over | Step-by-step execution with skipping called functions. Executes the current line entirely, without entering called functions, returning control immediately |
| Ctrl + Alt + F10 | Step Over Current Process | Step over the current process with skipping internal calls. Allows executing the current process without entering its functions |
| ⇧Shift + F5 | Stop Debugging | Completely stop the current debugging session and terminate the debugged application. All set breakpoints and variables are reset |
| ⇧Shift + Alt + F2 | Stop Perf Analysis | Stop performance data collection and display profiling results. Includes CPU, memory usage, and execution time statistics |
| Ctrl + ⇧Shift + D, K | Tasks | Open the Tasks panel to display a list of active debugging, compilation, and other background processes of the project |
| Ctrl + Alt + H | Threads Window | Open a detailed window with information about all execution threads, including their state, priority, and names. Useful for analyzing multi-threaded applications |
| F9 | Toggle Breakpoint | Add or remove a breakpoint at the current cursor position. The main combination for managing breakpoints during development |
| Ctrl + F11 | Toggle Disassembly | Toggle display between source code and disassembled machine code. Useful for analyzing low-level code implementation |
| Ctrl + Alt + W, 1–4 | Watch Windows | Open Watch 1-4 windows to track values of expressions and variables during debugging. Allows creating complex expressions for monitoring |
Debugger Context Menu
| Hotkey | Name | Description |
|---|---|---|
| Alt + F9, D | Delete | Delete from context menu |
| Alt + F9, A | Go to Disassembly | Go to disassembly |
| Alt + F9, S | Go to Source Code | Go to source code |
Diagnostics Center
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + Alt + F2 | Stop Collection | Stop diagnostics data collection |
Edit
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + C / Ctrl + Ins | Copy | Copy |
| Ctrl + X / ⇧Shift + Delete | Cut | Cut |
| Ctrl + ⇧Shift + V / Ctrl + ⇧Shift + Ins | Clipboard Ring | Cyclic paste from clipboard |
| Delete | Delete | Delete character |
| Ctrl + D | Duplicate | Duplicate line |
| Ctrl + F | Find | Open search panel |
| ⇧Shift + F12 | Find All References | Find all references |
| Ctrl + ⇧Shift + F | Find in Files | Find in files |
| F3 | Find Next | Find next |
| Ctrl + F3 | Find Next Selected | Find next selected |
| ⇧Shift + F3 | Find Previous | Find previous |
| Ctrl + K, Ctrl + M | Method Generation | Generate method from selection |
| Ctrl + G | Goto Line | Go to line |
| Ctrl + T / Ctrl + , | Goto All | Go to any element |
| Ctrl + F12 | Go to Declaration | Go to declaration |
| F12 | Go to Definition | Go to definition |
| Ctrl + 1, Ctrl + M / Alt + \ | Go to Member | Go to class member |
| F8 | Go to Next | Go to next |
| ⇧Shift + F8 | Go to Previous | Go to previous |
| Ctrl + K, Ctrl + X | Insert Code Snippet | Insert snippet |
| Ctrl + ←Left / →Right / ↑Up / ↓Down | Control Move | Move control element |
| Ctrl + K, Ctrl + N | Next Bookmark | Next bookmark |
| Ctrl + K, Ctrl + P | Previous Bookmark | Previous bookmark |
| ⇧Shift + Alt + F12 | Quick Symbol Search | Quick symbol search |
| Ctrl + Y / Ctrl + ⇧Shift + Z / ⇧Shift + Alt + ⌫Backspace | Undo | Redo |
| Ctrl + ⇧Shift + J | Update Dead Links | Update dead links |
| Ctrl + H | Replace | Replace |
| Ctrl + ⇧Shift + H | Replace in Files | Replace in files |
| Ctrl + A | Select All | Select all |
| Alt + F3, S | Stop Search | Stop search |
| Ctrl + Z / Alt + ⌫Backspace | Undo | Undo |
Editor Context Menu
| Hotkey | Name | Description |
|---|---|---|
| Alt + F9, C | Breakpoint Conditions | Set breakpoint condition |
| Alt + F9, L | Edit Tags | Set edit tag |
| ⇧Shift + Alt + F9, T | Insert Temporary Breakpoint | Insert temporary breakpoint |
| Ctrl + ` | Show Element | Show element under cursor |
| Ctrl + Alt + F5 | Execute | Execute command |
| Ctrl + M, Ctrl + G | Go to View | Go to view |
| Ctrl + K, Ctrl + O | Toggle Header File | Toggle .h / .cpp |
| Ctrl + K, T | View Call Hierarchy | View call hierarchy |
File
| Hotkey | Name | Description |
|---|---|---|
| Alt + F4 | Exit | Close Visual Studio |
| Ctrl + N | New File | Create a new file |
| Ctrl + ⇧Shift + N | New Project | Create a new project |
| ⇧Shift + Alt + N | New Website | Create a new website |
| Ctrl + O | Open File | Open file |
| Ctrl + ⇧Shift + O | Open Project | Open project |
| ⇧Shift + Alt + O | Open Website | Open website |
| Ctrl + P | Print document | |
| Ctrl + ⇧Shift + S | Save All | Save all |
| Ctrl + S | Save Items | Save file |
| Ctrl + ⇧Shift + W | Open in Browser | Open in browser |
Help
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + Alt + F1 | Add Help | Add help source |
| F1 | F1 Help | Open help |
| Ctrl + F1 | View Help | View help for element |
| ⇧Shift + F1 | Window Help | Help for active window |
Load Test
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + R, Q | Go to Counters Area | Go to performance counters |
Other Context Menus
| Hotkey | Name | Description |
|---|---|---|
| Insert | New Diagram | Add a new diagram |
Project
| Hotkey | Name | Description |
|---|---|---|
| ⇧Shift + Alt + A | Add Existing Item | Add existing item |
| Ctrl + ⇧Shift + A | Add New Item | Add new item |
| Ctrl + ⇧Shift + X | Class Wizard | Launch class wizard |
| Ctrl + Alt + Ins | Override | Generate overrides |
| Alt + ; then Alt + C | View Changes | View changes |
| Alt + ; then Alt + P | Publish Selected Files | Publish files |
| Alt + ; then Alt + R | Replace from Server | Replace from server |
Project and Solution Context Menu
| Hotkey | Name | Description |
|---|---|---|
| Alt + ↓Down | Move Down | Move element down |
| Alt + ↑Up | Move Up | Move element up |
Refactoring
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + R, Ctrl + E | Encapsulate Field | Encapsulate field into property |
| Ctrl + R, Ctrl + I | Extract Interface | Extract interface |
| Ctrl + R, Ctrl + M | Extract Method | Extract method |
| Ctrl + R, Ctrl + V | Remove Parameters | Remove method parameters |
| Ctrl + R, Ctrl + R | Rename | Rename symbol |
| Ctrl + R, Ctrl + O | Reorder | Reorder class members |
Solution Explorer
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + [, O | Filter Open Files | Filter open files |
| Ctrl + [, P | Filter Pending Changes | Filter pending changes |
| Ctrl + [, S | Synchronize with Document | Synchronize with document |
Team
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + 0, N | Go to Git Branches | Go to Git branches |
| Ctrl + 0, G | Go to Git Changes | Go to Git changes |
| Ctrl + 0, O | Go to Git Commits | Go to Git commits |
| Ctrl + ' | Search in team explorer | Search in Team Explorer |
Team Foundation Context Menu
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + 0, B | Go to Builds | Go to TFS builds |
| Ctrl + 0, C | Go to Connection | Go to connection |
| Ctrl + 0, D | Go to Documents | Go to documents |
| Ctrl + 0, H | Go Home | Go to home |
| Ctrl + 0, M | Go to My Work | Go to my work |
| Ctrl + 0, P | Go to Pending Changes | Go to pending changes |
| Ctrl + 0, R | Go to Reports | Go to reports |
| Ctrl + 0, S | Go to Settings | Go to settings |
| Ctrl + 0, A | Go to Web Access | Go to web access |
| Ctrl + 0, W | Go to Work Items | Go to work items |
Testing
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + \, Ctrl + C | Coded Test Builder | Launch coded test builder |
| Ctrl + \, Ctrl + A | Existing Action Recording | Record actions |
Test Explorer
| Hotkey | Name | Description |
|---|---|---|
| Ctrl + R, Ctrl + A | Debug All Tests | Debug all tests |
| Ctrl + R, Ctrl + T | Context Debug | Debug context test |
| Ctrl + R, D | Debug Last Run | Debug last run |
| Ctrl + R, L | Replay Execution | Repeat last run |
| Ctrl + R, A | Run All Tests | Run all tests |
| Ctrl + R, T | Context Execution | Run context test |
| Ctrl + E, T | Show Test Explorer | Open Test Explorer |
| Ctrl + E, L | Open Tab | Open test tab |
| Ctrl + E, C | Code Coverage Results | Show code coverage |
Tools
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Ctrl + Alt + P | Attach to Process | Attach debugger |
| Ctrl + K, Ctrl + B | Code Snippets Manager | Open Code Snippets Manager |
| Ctrl + ⇧Shift + Alt + F12 | Force GC | Forced garbage collection |
View
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⇧Shift + Alt + M | Maximize Window | Maximize the current active window to full screen while preserving the ability to restore to its original size |
| Ctrl + \, Ctrl + R | Architecture Viewer | Open Architecture Viewer to visualize and analyze project architectural diagrams with navigation between components |
| Alt + ←Left | Back | Return to the previous editing location in code (navigation through cursor movement history) |
| Ctrl + K, Ctrl + W | Bookmarks Window | Open Bookmarks window for managing code bookmarks with the ability to create, delete, and navigate to saved positions |
| Ctrl + ⇧Shift + 1 | Next Browse | Navigate to the next browse element (code segment) in the current document for quick navigation through structured sections |
| Ctrl + ⇧Shift + 2 | Previous Browse | Navigate to the previous browse element (code segment) in the current document to return to the previous structured section |
| Ctrl + Alt + K | Call Hierarchy | Open Call Hierarchy to display the call tree of the current function — which methods call this method and which methods it calls |
| Ctrl + ⇧Shift + C | Class View | Open Class View to browse project class hierarchies, their members, methods, and properties in a tree structure |
| Ctrl + \, D | Code Definition Window | Open Code Definition Window to view definitions of variables, functions, and other code elements in a separate window |
| Ctrl + Alt + A | Command Window | Open Command Window to enter and execute IDE commands directly with command auto-completion |
| ⇧Shift + Alt + D | Data Sources | Open Data Sources to manage project data sources, including databases, web services, and other connections |
| Ctrl + Alt + T | Document Outline | Open Document Outline to display the structure of the current document (HTML elements, XAML, or other language constructs) |
| F2 | Rename Label | Rename the selected symbol (variable, method, class) with automatic update of all references in the project |
| Ctrl + \, E | Error List | Open Error List to display all compilation errors, warnings, and other IDE messages with filtering by type |
| Ctrl + Alt + F | F# Interactive | Open F# Interactive to execute F# code interactively with immediate display of computation results |
| Ctrl + Alt + F12 | Symbol Results Search | Open symbol results search to find definitions, references, and mentions of symbols across the entire solution |
| Alt + →Right | Forward | Go forward in navigation history (restore position after going back through code) |
| Ctrl + ⇧Shift + 7 | Context Forward | Open Context Forward to view forward navigation context with display of document movement history |
| ⇧Shift + Alt + ⏎Enter | Full Screen | Toggle full-screen mode of the code editor by hiding all IDE interface elements for code focus |
| Ctrl + - | Go Back | Go to the previous cursor position in editing history (Go To Previous Position) |
| Ctrl + ⇧Shift + - | Go Forward | Go to the next cursor position in editing history after going back (Go To Next Position) |
| Ctrl + ⇧Shift + F12 | Next Error | Go to the next error or warning in Error List with auto-scroll of the editor to the corresponding code line |
| Ctrl + W, N | Notifications | Open Notifications to view system notifications about IDE actions, errors, and warnings |
| Ctrl + Alt + J | Object Browser | Open Object Browser to browse all types, members, and namespaces available in the project and its references |
| Ctrl + Alt + O | Output | Open Output to view diagnostic information, build results, and IDE tool messages |
| Ctrl + ⇧Shift + 8 | Context Outline | Open Context Outline to view detailed structure of the current code element with information about its members and methods |
| F4 | Properties Window | Open Properties Window to view and edit properties of the selected element (file, control, project) |
| ⇧Shift + F4 | Property Pages | Open all available property pages for the selected element with switching between settings tabs |
| Ctrl + ⇧Shift + E | Resource View | Open Resource View to browse and manage project resources: images, icons, strings, and other files |
| Ctrl + Alt + S | Server Explorer | Open Server Explorer to manage connections to databases, web services, and other server resources |
| ⇧Shift + Alt + F10 / Ctrl + . | Show Smart Tag | Show Smart Tag to display contextual actions and quick recommendations for the code element (auto-completion, refactoring) |
| Ctrl + Alt + L | Solution Explorer | Open Solution Explorer to manage projects, files, and dependencies of the current solution with tree structure |
| Ctrl + \, Ctrl + S | SQL Server Explorer | Open SQL Server Explorer to manage SQL Server database objects: tables, stored procedures, and views |
| Ctrl + \, T | Task List | Open Task List to manage tasks, notes, and TODO items with categorization and prioritization |
| Ctrl + \, Ctrl + M | TFS Command Explorer | Open TFS Command Explorer to execute Team Foundation Server version control and build commands |
| Ctrl + Alt + X | Toolbox | Open Toolbox to access visual controls, components, and visual development tools |
| Ctrl + \, Ctrl + U | UML Model Explorer | Open UML Model Explorer to browse and edit UML diagrams: classes, sequences, components, and others |
| F7 | View Code | Open the current page's code to switch between code view and visual design (in designers) |
| ⇧Shift + F7 | View Designer | Open visual design of the current page to switch between code and WPF/WinForms designer |
| Ctrl + Alt + R | Web Browser | Open built-in web browser IDE to preview web pages and debug client-side code |
| Ctrl + ⇧Shift + . | Zoom In | Zoom in the code editor display for larger text view (improved readability) |
| Ctrl + ⇧Shift + , | Zoom Out | Zoom out the code editor display for more compact text view (more lines on screen) |
| Ctrl + E, T | Show Test Explorer | Open Test Explorer to manage, run, and view results of unit tests and other test types of the project |
Window
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Esc | Activate Document Window | Activate document and move input focus to the code editor window from another IDE interface element |
| Ctrl + ⇧Shift + Alt + Space | Add Tab to Selection | Add the current document as a new tab for simultaneous viewing of multiple files |
| Ctrl + F4 | Close Document Window | Close the current active document or tab, saving changes (if there are unsaved changes) |
| ⇧Shift + Esc | Close Tool Window | Close the active tool window (panel, dock) without closing the main code editor window |
| Ctrl + Alt + Home | Keep Tab Open | Keep the current document tab open for later access without re-opening the file |
| Ctrl + F2 | Navigate to Navigation Bar | Navigate to document navigation bar to access search, bookmarks, and content navigation functions |
| Ctrl + F6 | Next Document Window | Switch focus to the next open document in the navigation queue (similar to Ctrl+Tab) |
| Ctrl + Tab | Document Window Navigation | Open document navigation interface for quick switching between all open solution files |
| Alt + F6 | Next Region | Navigate to the next split region in the current editor window to work with multiple code panels |
| F6 | Next Split Region | Switch focus to the next split view in the current document window for parallel viewing |
| Ctrl + Alt + Pg Dn / Ctrl + Pg Dn | Next Tab | Switch to the next code editor tab in the group of open tabs with instant content display |
| Ctrl + ⇧Shift + Alt + Pg Dn | Next Tab and Add | Switch to the next tab and automatically add it to the group of pinned tabs for quick access |
| Alt + F7 | Tool Window Navigation | Navigate through IDE tool panels with the ability to switch between all open tool windows |
| Ctrl + ⇧Shift + F6 | Previous Document Window | Switch focus to the previously open document in the navigation queue (reverse switching) |
| Ctrl + ⇧Shift + Tab | Document Window Navigation | Switch to the previous document in the list of open files (reverse navigation by Ctrl+Tab) |
| ⇧Shift + Alt + F6 | Previous Region | Navigate to the previous split region in the current editor window to navigate between code panels |
| ⇧Shift + F6 | Previous Split Region | Switch focus to the previous split view in the current document window to return to the previous panel |
| Ctrl + Alt + Pg Up / Ctrl + Pg Up | Previous Tab | Switch to the previous code editor tab in the group of open tabs for navigation through files |
| Ctrl + ⇧Shift + Alt + Pg Up | Previous Tab and Add | Switch to the previous tab and automatically add it to the group of pinned tabs for quick access |
| ⇧Shift + Alt + F7 | Tool Window Navigation | Navigate through IDE tool panels in reverse to switch to previous tool windows |
| Ctrl + Q | Quick Launch | Open Quick Launch for quick search and launch of IDE commands without menu navigation |
| Ctrl + ⇧Shift + Q | Previous Quick Launch Category | Switch to the previous category in Quick Launch to navigate through command groups and IDE functions |
| Alt + - | Docking Menu | Docking menu to manage the arrangement and attachment of tool panels to different areas of the window |
| Ctrl + Alt + ↓Down | MDI File List | File list to display all open files in multiple document mode (MDI) for quick switching |
| Ctrl + ; | Solution Explorer Search | Search Solution Explorer for quick search of files, project elements, and components in Solution Explorer |
| Alt + ' | Find Window | Window Find to open a search window for the current document content with search and replace support |
Context Keyboard Shortcuts
Keyboard shortcuts applied only in the context of a specific editor or component
ADO.NET Entity Data Model Designer
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Alt + ↓Down | Down | Move the selected entity diagram element down to change the order on the canvas |
| Alt + Pg Dn | Down 5 | Move 5 positions down the selected data model element for quick diagram navigation |
| Alt + End | Bottom | Go to the last element in the ADO.NET data model list or diagram for collection navigation |
| Alt + Home | Top | Go to the first element in the ADO.NET data model list or diagram to return to the beginning of the collection |
| Alt + ⇧Shift + Alt + ↑Up | Up | Move the selected entity diagram element up to change the order on the canvas |
| Alt + Pg Up | Up to 5 | Move 5 positions up the selected data model element for quick diagram navigation |
| Ctrl + R, R | Rename | Rename the selected data model element (entity, property, relationship) with updating all related components |
| ⇧Shift + Del | Remove from Schema | Remove the selected element from the ADO.NET data model along with associated mappings |
| Ctrl + 1 | Data Model Browser | Open EDM Browser to detailed browse and navigate Entity Data Model with visualization of entity relationships |
| Ctrl + 2 | Mapping Details | Show mapping details to display entity-to-database-table mapping information |
Class Diagram
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Num + - | Collapse | Collapse the selected class diagram element (class, interface) to reduce visual clutter on the diagram |
| Num + + | Expand | Expand the collapsed class diagram element to display all its members, methods, and properties |
| Ctrl + Del | Delete | Delete the selected class diagram element (class, interface, enumeration) from the project model |
| ⇧Shift + Alt + B | Expand Base Types List | Expand the base types list to view the inheritance hierarchy of the selected class on the diagram |
| ⇧Shift + Alt + L | Go to Lollipop | Navigate to the lollipop element (connection symbol) on the class diagram to navigate to connection nodes between classes |
| Delete | Remove from Schema | Remove the selected element from the class diagram while preserving the source code (visual deletion only) |
| ⏎Enter | View Code | Open the source code of the class or type selected on the diagram to navigate to the implementation |
Coded UI Test Editor
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Ctrl + C | Copy Reference | Copy the UI element reference to the clipboard for use in other tests or documents |
| Ctrl + Alt + D | Insert Delay | Insert a delay in the UI test code to wait for an operation to complete or an interface element to load |
| ⇧Shift + Alt + L | Find All | Find all UI elements that match the current search query in the coded test editor |
| Ctrl + ⇧Shift + L | Find Control | Find a UI control on the screen to identify it and add it to the automation test code |
| Ctrl + Alt + C | Encode Code | Encode UI — generate or update coded UI test code based on current actions and recorded steps |
| Ctrl + ⇧Shift + T | Split to New Method | Split the current test code block into a separate method to improve readability and reusability |
Dataset Editor
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Insert | Insert Column | Add a new column to the dataset table, initiating the name and data type input process |
| Ctrl + L | Column | Select a column in the dataset for editing, deletion, or changing properties and parameters |
Difference Viewer
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Ctrl + \, Ctrl + Space | Ignore Whitespace | Ignore whitespace when comparing files to focus on significant differences in code content |
| Ctrl + \, Ctrl + 1 | In-line View | In-line view — switch to inline display of differences with highlighting changes within lines |
| Ctrl + \, Ctrl + 3 | Left Only | Show only the left side of the comparison (source file), hiding the right side to focus on the original |
| F8 | Next Difference | Go to the next found difference in file comparison for sequential viewing of all differences |
| ⇧Shift + F8 | Previous Difference | Go to the previous found difference in file comparison for backward navigation through the list of differences |
| Ctrl + \, Ctrl + 4 | Right Only | Show only the right side of the comparison (modified file), hiding the left side to focus on changes |
| Ctrl + \, Ctrl + 2 | Parallel View | Parallel view — switch to parallel comparison display with independent file scrolling |
| Ctrl + \, Ctrl + Tab | Toggle Left/Right | Switch focus between the left and right sides of the comparison for navigation between compared files |
| Ctrl + \, Ctrl + ⇧Shift + ↓Down | Sync Mode Toggle | Toggle sync mode — switch synchronization mode between left and right comparison panels |
| Ctrl + ⇧Shift + K | Add Comment | Add a comment to the current difference in file comparison for annotating and explaining changes |
| Ctrl + ⇧Shift + P | Modify Local File | Modify local file — apply or revert changes in the source file based on comparison results |
DOM Explorer
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| F5 | Refresh | Refresh the DOM of the current website — reload the DOM tree to display the current document structure after changes |
| Ctrl + B | Select Element | Select an element on the page to highlight it in the DOM tree and display properties in the inspector panel |
| Ctrl + ⇧Shift + I | Show Layout | Show layout — display visual CSS layout (Flexbox/Grid) for the selected DOM element |
F# Interactive
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Ctrl + Break | Cancel Interactive Evaluation | Cancel interactive evaluation — interrupt execution of a long or hung expression in F# Interactive |
Graph Document Editor
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Insert | Add Node | Add a new node to the graphical document diagram to build a visual diagram or flowchart |
| B | Both Dependencies | Display both dependencies of a node: incoming (what depends on this node) and outgoing (from this node) connections |
| I | Incoming Dependencies | Incoming dependencies — display only incoming dependencies of a node (what depends on this element) |
| O | Outgoing Dependencies | Outgoing dependencies — display only outgoing dependencies of a node (from this element to others) |
| Ctrl + ⇧Shift + K / Ctrl + E, C | New Comment | Add a comment to the selected node or graph element to annotate and explain its purpose |
| Delete | Delete | Delete the selected node from the graphical document along with all connected edges and links |
| F2 | Rename | Rename the selected graph node to change its name with updating the diagram display |
Graphics Diagnostics
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| None | Record Frame | Record frame (not assigned) — start recording a frame for subsequent detailed graphics rendering diagnostics |
| ⇧Shift + Alt + ↓Down | Move Pixels Down | Shift pixels down in the graphics diagnostics tool to view content beyond the visible area |
| ⇧Shift + Alt + ←Left | Move Pixels Left | Shift pixels left in the graphics diagnostics tool to navigate the rendering canvas |
| ⇧Shift + Alt + →Right | Move Pixels Right | Shift pixels right in the graphics diagnostics tool to navigate the rendering canvas |
| ⇧Shift + Alt + ⇧Shift + ↑Up | Move Pixels Up | Shift pixels up in the graphics diagnostics tool to navigate the rendering canvas |
| ⇧Shift + Alt + 0 | Zoom to Real Size | Real size — set the graphical frame display scale to 100% (real pixel size) |
| ⇧Shift + Alt + 9 | Zoom to Window | Zoom to window — scale the graphical frame to fully display in the available diagnostics window |
| ⇧Shift + Alt + + | Zoom In | Zoom in the graphical frame display by one step for detailed viewing of rendering elements |
| ⇧Shift + Alt + - | Zoom Out | Zoom out the graphical frame display by one step to overview the entire rendering scene |
HTML Editor
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Ctrl + M, Ctrl + G | Go to Controller | Navigate to the controller (controller) in the ASP.NET MVC project structure from the HTML editor |
HTML Editor (Design)
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Ctrl + ↓Down | Move Element Down | Move the selected HTML element down in the DOM structure to change the order of elements on the page |
| Ctrl + ⇧Shift + ↑Up | Move Element Up | Move the selected HTML element up in the DOM structure to change the order of elements on the page |
| Ctrl + B | Bold | Bold text — apply or remove bold formatting for the selected content fragment |
| Ctrl + L | Convert to Hyperlink | Make the selected text a hyperlink, initiating a dialog to enter the URL address |
| Ctrl + ⇧Shift + L | Insert Bookmark | Insert a bookmark at the current cursor position for quick navigation to important content |
| Ctrl + I | Italic | Italic text — apply or remove italic formatting for the selected content fragment |
| Ctrl + U | Underline | Underline text — apply or remove underlining for the selected content fragment |
| Ctrl + M, Ctrl + C | Add Content Page | Add a content page to the current ASP.NET MVC project to expand the site structure |
| Ctrl + Alt + ←Left | Column Left | Add a column to the left of the current position — insert a new column in table or block markup |
| Ctrl + Alt + →Right | Column Right | Add a column to the right of the current position — insert a new column in table or block markup |
| Ctrl + Alt + ↑Up | Row Above | Add a row above the current position — insert a new row in the HTML table markup |
| Ctrl + Alt + ↓Down | Row Below | Add a row below the current position — insert a new row in the HTML table markup |
| Ctrl + ⇧Shift + N | Clean Non-Visual Elements | Clean non-visible elements — remove invisible HTML elements (break, span) to clean up the page markup |
| Ctrl + M, Ctrl + M | Change Template | Change the template — switch or change the HTML template used for the current page element |
| Ctrl + Pg Dn | Next View | Go to the next view when working with multiple layouts or design templates |
| ⇧Shift + Alt + F10 | Show Smart Tag | Show Smart Tag to display contextual actions and quick recommendations for the selected design element |
| ⇧Shift + F7 | View Markup | View markup — switch from design mode to source code mode (HTML markup) of the page |
| Ctrl + Pg Up | Previous View | Go to the previous view when working with multiple layouts or design templates |
HTML Editor (Source)
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Ctrl + M, Ctrl + G | Go to Controller | Navigate to the controller (controller) in the ASP.NET MVC project structure from the HTML source editor |
| Ctrl + Pg Dn | Next View | Go to the next view when working with multiple open view files |
| Ctrl + ⇧Shift + Y | Sync Views | Sync views — synchronize scrolling between design mode and source for simultaneous viewing |
| ⇧Shift + F7 | View Designer | Open the visual designer (designer) of the page to switch from source mode to design mode |
| Ctrl + Pg Up | Previous View | Go to the previous view when working with multiple open view files |
Layer Diagram
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⇧Shift + Delete | Delete | Delete the selected layer from the project architecture layer diagram, updating all dependencies |
Managed Resources Editor
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| F2 | Edit Cell | Edit a cell in the resources table to change the resource name, value, or metadata |
| Delete | Delete | Delete the selected resource from the project, freeing up space and updating references |
| Ctrl + Delete | Delete Row | Delete a row (resource row) from the editable resources table with automatic update of the resource file |
| Esc | Deselect | Deselect the current resource or table element to clear the active state |
| Ctrl + 4 | Audio | Add an audio resource to the project — initiate adding a sound file to the resource collection |
| Ctrl + 5 | Files | Add a file resource — include any file in the project resource collection for embedded use |
| Ctrl + 3 | Icons | Add an icon to the project — initiate adding an icon to the application resource collection |
| Ctrl + 2 | Images | Add an image to the project — initiate adding a graphic file to the resource collection |
| Ctrl + 6 | Other | Add another resource — include any resource type in the project resource collection |
| Ctrl + 1 | Strings | Add a string resource to the project — initiate adding a localized string to the resource collection |
Merge Editor Window
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Alt + 1 | Focus Left Window | Focus on the left window — move the cursor and active state to the left panel of the merge editor for editing |
| Alt + 2 | Focus Result Window | Focus on the result window — move the cursor to the central panel with merge results to view changes |
| Alt + 3 | Focus Right Window | Focus on the right window — move the cursor and active state to the right panel of the merge editor for editing |
SQL Server Data Tools, Schema Compare
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⇧Shift + Alt + C | SSDT Schema Comparison | Compare database schemas — start comparing schemas between two databases in SQL Server Data Tools |
| ⇧Shift + Alt + G | Generate Script | Generate script — create a SQL script to apply schema differences from source to target database |
| ⇧Shift + Alt + . | Next Change | Go to the next schema change in comparison results for sequential viewing of differences |
| ⇧Shift + Alt + , | Previous Change | Go to the previous schema change in comparison results for backward navigation through differences |
| Alt + Break | Stop Comparison | Stop the current schema comparison execution to terminate a long-running database comparison operation |
| ⇧Shift + Alt + U | Write Updates | Apply updates — write all selected schema changes from source to target database |
SQL Server Data Tools, Table Designer
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⇧Shift + Alt + U | Commit All Changes | Apply all changes — commit all structure changes made to the table in the database |
| Ctrl + R, E | Expand Wildcards | Expand all wildcards (wildcards) in object names of the table |
| Ctrl + R, Q | Fully Qualified Names | Switch object name display to fully qualified names including schema |
| Ctrl + R, M | Go to Schema | Navigate to the schema (namespace) of the current table object to view the structure |
| F2 / Ctrl + R, R | Rename | Rename a table or column with automatic update of all references to the object in the database |
| ⇧Shift + Alt + Pg Dn | View Script File | View scripts — navigate to the SQL script file for the table displaying the generated code |
SQL Server Data Tools, T-SQL Editor
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⇧Shift + Alt + U | Commit All Changes | Apply and commit all unsaved changes in all open T-SQL documents |
| Alt + F5 | Execute with Debugger | Run T-SQL query execution in debug mode with the ability to set breakpoints and step-by-step control |
| Ctrl + R, E | Expand Wildcards | Expand wildcard symbols (wildcard) to full database object names in the current query |
| Ctrl + R, Q | Fully Qualified Names | Add fully qualified names (server_name.db_name.schema_name.object_name) to all objects in the selected text |
| Ctrl + R, M | Go to Schema | Quickly navigate to the schema definition of the object selected in the editor |
| F2 / Ctrl + R, R | Rename | Rename the selected database object across the entire database, updating all references to it |
| Alt + Break | Cancel Query | Interrupt the execution of the currently running T-SQL query to SQL Server |
| Ctrl + ⇧Shift + E | Execute Query | Execute a T-SQL query or selected code fragment on the SQL Server and display results |
| Ctrl + D, F | Results as File | Output query results as a file for subsequent saving to disk |
| Ctrl + D, G | Results as Grid | Display query results as a table (grid) with the ability to navigate through cells |
| Ctrl + D, T | Results as Text | Output query results as text messages in the messages window |
| Ctrl + D, E | Show Execution Plan | Display the query execution plan for SQL Server optimizer analysis and performance optimization |
| Ctrl + D, A | Toggle Plan | Switch between actual and estimated query execution plan display |
| Ctrl + D, R | Toggle Results Pane | Hide or show the query results area panel in the editor window |
| Ctrl + Alt + N | Clone Query | Create an exact copy of the current query window in a new tab for parallel work |
| ⇧Shift + Alt + Pg Dn | Database Combo | Open a dropdown list to select the target database for executing the current query |
SQL Server Data Tools, T-SQL PDW Editor
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Alt + Break | Cancel Query | Interrupt the execution of the current query to the SQL Server PDW (Parallel Data Warehouse) server |
| Ctrl + ⇧Shift + E | Execute Query | Execute a T-SQL query in the PDW/APC analytical data warehouse with distributed data processing |
| Ctrl + D, F | Results as File | Export PDW query results to a file for further analysis and data processing |
| Ctrl + D, G | Results as Grid | Display PDW query results as an interactive grid with filtering and sorting capabilities |
| Ctrl + D, T | Results as Text | Output PDW query results in text format to the editor messages window |
| Ctrl + D, E | Show Plan | Show the distributed query execution plan for analysis in PDW |
| Ctrl + D, A | Toggle Plan | Switch between the estimated and actual execution plan of the distributed query |
| Ctrl + D, R | Toggle Results Pane | Hide or show the query results panel in the PDW editor window |
| Ctrl + Alt + N | Clone Query | Create a duplicate of the current PDW query in a new tab for parallel testing |
| ⇧Shift + Alt + Pg Dn | Clone Query (2) | Alternative combination for creating a copy of the current PDW query in a new tab |
Page Inspector
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| F12 | Collapse | Collapse the page inspector panel to free up editor workspace |
Query Designer
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Ctrl + T | Cancel Data Extraction | Abort the data structure extraction operation while building a query visually |
| Ctrl + 2 | Criteria | Switch to the criteria filtering tab (WHERE clause) in the query designer |
| Ctrl + 1 | Diagram | Switch to the visual diagram mode for building queries by dragging tables |
| Ctrl + R | Execute SQL | Execute the SQL query generated by the query designer and display results on the server |
| Ctrl + G | Goto Line | Go to a specific line of SQL code by specifying the line number in the dialog box |
| Ctrl + ⇧Shift + J | Join Mode | Toggle the mode for creating connections (JOINs) between tables in the query designer |
| Ctrl + 4 | Results | Switch to the query results tab in the query designer window |
| Ctrl + 3 | SQL | Switch to the SQL code tab for manually editing the query text |
Query Results
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Alt + End | New Results Row | Create a new row in the results panel to display data from a new query execution |
| ⇧Shift + Alt + R | Refresh Results | Refresh the current query results by re-executing the original SQL query against the database |
| Alt + Break | Stop Results | Stop a long-running query execution and clear partially obtained results |
Report Designer
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⏎Enter | Toggle Breakpoint | Set or remove a breakpoint in the current line during report debugging |
| ←Left | Char left | Move cursor one character to the left in the report editor |
| ⇧Shift + ←Left | Extension left | Extend text selection one character to the left in the report designer |
| →Right | Char right | Move cursor one character to the right in the report editor |
| ⇧Shift + →Right | Extension right | Extend text selection one character to the right in the report designer |
| ⇥Tab | Tab | Move to the next tab stop or control in the report |
| ↓Down | Line down | Move cursor one line down in the report designer |
| ⇧Shift + ↓Down | Extension down | Extend report element selection one line down |
| ↑Up | Up | Move cursor one line up in the report designer |
| ⇧Shift + ↑Up | Extension up | Extend report element selection one line up |
| Ctrl + ↓Down | Move element down | Physically move the selected report element down by one position in the design |
| Ctrl + ←Left | Move element left | Physically move the selected report element left by one position in the design |
| Ctrl + →Right | Move element right | Physically move the selected report element right by one position in the design |
| Ctrl + ↑Up | Move element up | Physically move the selected report element up by one position in the design |
| Esc | Cancel Selection | Deselect selected report elements or close an active window |
| Ctrl + ⇧Shift + ↓Down | Size down | Resize the selected report element, increasing its height downward |
| Ctrl + ⇧Shift + ←Left | Size left | Resize the selected report element, increasing its width to the left |
| Ctrl + ⇧Shift + →Right | Size right | Resize the selected report element, increasing its width to the right |
| Ctrl + ⇧Shift + ↑Up | Size up | Resize the selected report element, increasing its height upward |
| ⇧Shift + Tab | Tab left | Move to the previous tab stop or element in the report (reverse navigation) |
| Ctrl + Alt + D | Report Data | Open the report data panel to configure data sources and fields |
Sequence Diagram
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| F12 | Goto Code | Go to the source code or implementation of the element under the cursor in the sequence diagram |
| ⇧Shift + Del | Delete | Delete the selected element (component, message, Lifeline) from the sequence diagram model |
Settings Designer
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| F2 | Cell Edit | Start editing the value or name of the currently selected cell in the settings designer |
| Ctrl + Delete | Row Delete | Delete the current parameter row from the application settings designer table |
| Esc | Cancel Selection | Cancel cell editing and deselect the parameter row |
| F7 | View Code | Open the source code containing the definition or usage of the currently selected parameter |
Solution Explorer (context)
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Ctrl + K, Ctrl + G | View in Page Inspector | Open the selected solution item in the page inspector for visual viewing without context switching |
| ⇧Shift + F2 | Quick Item Add | Quickly add a new item (file, class, page) to the selected project or solution folder |
Team Explorer
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Delete | Delete | Delete the selected element (branch, change, commit) from Team Foundation source control |
| F2 | Rename | Rename the selected team or section item in Team Explorer |
| Alt + Home | Navigate to Navigation | Navigate to the main Team Explorer navigation panel for quick access to project sections |
| Alt + ↓Down | Next Section | Navigate to the next Team Explorer navigation section (Commands, Changes, Builds, etc.) |
| Alt + 0 | Goto Section Content 0 | Instantly navigate to section zero content in the Team Explorer navigation panel |
| Alt + ↑Up | Previous Section | Navigate to the previous Team Explorer navigation section in the sections list |
| Alt + 1 | Goto Section 1 | Quickly navigate to the first Team Explorer navigation section (usually Home or Dashboard) |
| Alt + 2 | Goto Section 2 | Quickly navigate to the second Team Explorer navigation section (usually Branches or Repos) |
| Alt + 3 | Goto Section 3 | Quickly navigate to the third Team Explorer navigation section to access corresponding functionality |
| Alt + 4 | Goto Section 4 | Quickly navigate to the fourth Team Explorer navigation section to work with project items |
| Alt + 5 | Goto Section 5 | Quickly navigate to the fifth Team Explorer navigation section to access additional features |
| Alt + 6 | Goto Section 6 | Quickly navigate to the sixth Team Explorer navigation section to work with project settings |
| Alt + 7 | Goto Section 7 | Quickly navigate to the seventh Team Explorer navigation section to access tools |
| Alt + 8 | Goto Section 8 | Quickly navigate to the eighth Team Explorer navigation section to work with reports |
| Alt + 9 | Goto Section 9 | Quickly navigate to the ninth Team Explorer navigation section to access advanced features |
| Alt + ←Left | Back | Return to the previously viewed section in the Team Explorer navigation history |
| Alt + →Right | Forward | Navigate forward in the Team Explorer navigation history (after going back) |
| ⇧Shift + Alt + C | Copy Work Page | Create a copy of the current Work Item for duplication or branching |
| ⇧Shift + Alt + L | New Linked Work | Create a new linked Work Item associated with the current item |
| F5 | Refresh | Refresh Team Explorer data, synchronize with the server, and display the current state |
Test Explorer (context)
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| F12 | Test Open | Open the source code of the test method under the cursor in the code editor for navigation and editing |
Text Editor
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⏎Enter / ⇧Shift + ⏎Enter | Insert Line / Insert Line Above | Insert a new empty line below or above (with Shift) the current cursor position with automatic indentation preservation |
| ←Left | Char left | Move the cursor one position to the left in the current line without text selection |
| ⇧Shift + ←Left | Extension left | Extend text selection one character to the left from the current cursor position |
| ⇧Shift + Alt + ←Left | Column Extension left | Activate block selection mode and extend it one column to the left (multi-line selection) |
| →Right | Char right | Move the cursor one position to the right in the current line without text selection |
| ⇧Shift + →Right | Extension right | Extend text selection one character to the right from the current cursor position |
| ⇧Shift + Alt + →Right | Column Extension right | Activate block selection mode and extend it one column to the right (multi-line selection) |
| Ctrl + K, Ctrl + L | Clear Bookmarks | Remove all bookmarks set in the current open document |
| Ctrl + M, Ctrl + A | Outline Collapse All | Collapse all collapsible code blocks (regions, methods, classes) in the document for a compact view |
| Ctrl + M, Ctrl + S | Collapse Current Region | Collapse the #region block where the cursor is located, hiding all code within that region |
| Ctrl + M, Ctrl + T | Collapse Tag | Collapse an HTML/XML tag and its contents in markup code editor |
| Ctrl + M, Ctrl + O | Collapse to Definitions | Collapse all code, leaving only method, class, and namespace definitions visible |
| ⇧Shift + Alt + - | Select Contract | Select the current contract block for further editing or analysis |
| Ctrl + K, Ctrl + C | Select Comment | Comment out the selected code block, adding comment characters to each selected line |
| Ctrl + Space / Alt + →Right | Full Word | Invoke IntelliSense — smart code completion list based on context |
| Ctrl + ⇧Shift + Alt + C | Copy Parameter Hint | Show parameter hints for a method and copy them to clipboard for convenient insertion |
| Alt + , | Decrease Filter Level | Decrease the current filtering level in the element tree or list, showing more elements |
| ⌫Backspace / ⇧Shift + ⌫Backspace | Backward Delete | Delete the character to the left of the cursor; with Shift — delete selection or invoke reverse completion |
| Ctrl + K, Ctrl + \ | Remove Horizontal Whitespace | Remove all horizontal whitespace (spaces and tabs) from the selected code block |
| Ctrl + End | End Document | Instantly move the cursor to the very end of the current document, regardless of the current position |
| Ctrl + ⇧Shift + End | Extension End Document | Select all text from the current cursor position to the very end of the document |
| Ctrl + Home | Start Document | Instantly move the cursor to the very beginning of the current document to the first character |
| Ctrl + ⇧Shift + Home | Extension Start Document | Select all text from the current cursor position to the very beginning of the document |
| Ctrl + M, Ctrl + X | Unfold All Structures | Expand all collapsible code blocks, making all hidden text in the document visible |
| Ctrl + M, Ctrl + E | Expand Current Region | Expand the collapsed #region block, making all code within that region visible |
| ⇧Shift + Alt + + | Expand Selection | Expand the collapsed code block corresponding to the current text selection |
| ⇧Shift + Alt + ] | Expand to Contain Block | Expand the collapsed code block to its full visual display in the editor |
| Ctrl + K, Ctrl + D | Format Document | Automatically format the entire document according to the project's code style settings |
| Ctrl + K, Ctrl + F | Format Selection | Automatically format only the selected code fragment according to standards |
| Ctrl + T / Ctrl + , | Goto all | Open a universal dialog for quick navigation to any symbol, file, or element in the project |
| Ctrl + ] | Brace Goto | Quickly navigate to the matching brace (opening or closing) of the current code block |
| Ctrl + ⇧Shift + ] | Extension Brace Goto | Select all code from the current position to the matching brace, including nested blocks |
| Ctrl + T, R | Goto Last | Go to the last editing position in the document where you were actively working |
| Alt + Pg Dn | Next Problem in File | Go to the next error, warning, or symbol in the current document with problem highlighting |
| Alt + Pg Up | Previous Problem in File | Go to the previous error, warning, or symbol in the current document |
| Ctrl + M, Ctrl + H | Hide Selection | Hide the selected code block, leaving only the remaining document text visible |
| Alt + . | Increase Filter Level | Increase the current filtering level, hiding less important elements in the tree or list |
| Ctrl + I | Incremental Search | Start incremental search through document text with instant highlighting of matches as you type |
| ⇧Shift + Alt + ; | Insert Cursors | Activate multi-cursor mode for simultaneous editing of multiple lines |
| ⇧Shift + Alt + . | Insert Next Matching | Add a cursor to the next found match of the current word or expression in the document |
| ⇥Tab | Tab | Move focus to the next tab stop or increase indentation of selected text |
| Ctrl + L | Cut Line | Delete the current line where the cursor is located and place its contents in the clipboard |
| Ctrl + ⇧Shift + L | Delete Line | Fully delete the current line along with the line break without saving to clipboard |
| ↓Down | Line down | Move the cursor one line down, maintaining the horizontal position in the line |
| ⇧Shift + ↓Down | Extension row down | Extend text selection one line down from the current cursor position |
| ⇧Shift + Alt + ↓Down | Column Extension down | Extend block selection one line down for multi-line text selection |
| End | End of Line | Move the cursor to the end of the current line, to the last significant character or space |
| ⇧Shift + End | Extension End of Line | Select all text from the current position to the end of the current line |
| ⇧Shift + Alt + End | Column Extension End | Extend block selection to the end of the line for horizontal selection |
| Ctrl + ⏎Enter | Open Line Above | Insert a new empty line above the current cursor position with automatic indentation preservation |
| Ctrl + ⇧Shift + ⏎Enter | Open Line Below | Insert a new empty line below the current cursor position with automatic indentation preservation |
| Home | Start of Line | Move the cursor to the beginning of the current line, to the first significant character or indent |
| ⇧Shift + Home | Extension Start of Line | Select all text from the current position to the beginning of the current line |
| ⇧Shift + Alt + Home | Start Column Extension | Extend block selection to the beginning of the line for horizontal selection |
| ⇧Shift + Alt + T | Transpose Lines | Swap the current line with the previous or next line for code rearrangement |
| ↑Up | Up | Move the cursor one line up, maintaining the horizontal position in the line |
| ⇧Shift + ↑Up | Extension row | Extend text selection one line up from the current cursor position |
| ⇧Shift + Alt + ↑Up | Row Extension Column | Extend block selection one line up for multi-line text selection |
| Ctrl + J | List Members | Invoke IntelliSense List Members for quick access to class members |
| Ctrl + U | Make Lowercase | Convert selected text to lowercase, changing all uppercase letters to lowercase |
| Ctrl + ⇧Shift + U | Make Uppercase | Convert selected text to uppercase, changing all lowercase letters to uppercase |
| Alt + ↓Down | Move Lines Down | Physically move the current line or selected code block one line down in the file |
| Alt + ↑Up | Move Lines Up | Physically move the current line or selected code block one line up in the file |
| Ctrl + ⇧Shift + ↓Down | Next Selected Reference | Go to the next match of the current selection in the entire document and highlight it |
| Insert | Type Over Mode | Toggle input mode between insert and overwrite characters when typing |
| Pg Dn | Page down | Scroll the editor screen one page down in the code editor with cursor movement |
| ⇧Shift + Pg Dn | Extension Page Down | Select text for one full page down from the current cursor position |
| Pg Up | Page up | Scroll the editor screen one page up in the code editor with cursor movement |
| ⇧Shift + Pg Up | Extension Page Up | Select text for one full page up from the current cursor position |
| Ctrl + ⇧Shift + Space | Parameter Info | Show a hint with types and names of parameters of the called method or function |
| Ctrl + ⇧Shift + Alt + P | Insert Parameter Hint | Show and insert a hint with method parameters directly into the code |
| Ctrl + Alt + - | Peeek Back | Return to the previous Peek position to analyze code context in a new window |
| Alt + F12 | Definition Peek | Open the definition of the symbol under the cursor in Peek mode (view without navigation) |
| Ctrl + Alt + + | Peek Forward | Return to the next Peek position after going back |
| Ctrl + ⇧Shift + ↑Up | Previous Selected Reference | Go to the previous match of the current selection in the entire document and highlight it |
| Ctrl + K, K, I | Quick Info | Open a quick info tooltip with a description of the symbol or element under the cursor |
| Ctrl + ⇧Shift + I | Reverse Incremental Search | Start reverse incremental search, finding matches in the direction toward the beginning of the document |
| Ctrl + ↓Down | Scroll Line Down | Scroll the editor contents one line down without moving the cursor |
| Ctrl + ↑Up | Scroll Line Up | Scroll the editor contents one line up without moving the cursor |
| Ctrl + W | Select Current Word | Quickly select the word under the cursor for further copying or modification |
| Esc | Cancel Selection | Deselect text or close an active IntelliSense hint window |
| Ctrl + = | Select Last Return | Select text from the current position to the last edit location |
| Ctrl + K, K, ` | Code Lens Menu | Open the Code Lens context menu to view related actions and element metadata |
| Alt + ' | Navigation Menu | Open the context navigation menu for quick navigation to code elements |
| Ctrl + M, Ctrl + U | Stop Hiding Current | Cancel hiding the current code block and restore its visual display |
| Ctrl + M, Ctrl + P | Stop Structuring | Stop collapsing structural code blocks and return the document to its original state |
| Ctrl + K, K, A | Toggle Snapping | Toggle snap mode for precise alignment of code elements |
| ⇧Shift + Tab | Tab left | Decrease indentation of selected text and move to the previous tab stop |
| Ctrl + M, Ctrl + L | Toggle All Structures | Toggle all structural code blocks between collapsed and expanded states |
| Ctrl + K, Ctrl + K | Toggle Bookmark | Set or remove a bookmark on the current line for quick return |
| Ctrl + Alt + Space | Toggle Completion Mode | Toggle IntelliSense completion mode between automatic and manual |
| Ctrl + M, Ctrl + M | Toggle Expansion | Collapse or expand the #region block where the cursor is located |
| Ctrl + K, Ctrl + H | Toggle Taskbar | Show or hide the Taskbar panel in the code editor interface |
| Ctrl + E, Ctrl + W | Toggle Word Wrap | Enable or disable word wrap to display long lines across multiple lines |
| Ctrl + K, Ctrl + U | Selection Uncomment | Uncomment the selected code block, removing comment characters from each line |
| Ctrl + Pg Dn | Bottom View | Navigate to the bottom of the visible document area, to the last displayed lines |
| Ctrl + ⇧Shift + Pg Dn | Bottom Extension View | Select text from the current position to the bottom visible area of the document |
| Ctrl + Pg Up | Top View | Navigate to the top of the visible document area, to the first displayed lines |
| Ctrl + ⇧Shift + Pg Up | Top Extension View | Select text from the current position to the top visible area of the document |
| Ctrl + R, Ctrl + W | View Spaces | Show or hide invisible whitespace characters (spaces, tabs) in the document text |
| Ctrl + Delete | Delete Word End | Delete the next word from the cursor to the end of the word, including separating spaces |
| Ctrl + ⌫Backspace | Delete Word Start | Delete the previous word from the cursor to the beginning of the word, including separating spaces |
| Ctrl + →Right | Word next | Move the cursor to the beginning of the next word, skipping spaces |
| Ctrl + ⇧Shift + →Right | Next Word Extension | Extend text selection to the next word from the current cursor position |
| Ctrl + ⇧Shift + Alt + →Right | Next Word Column Extension | Block selection to the next word for multi-line editing |
| Ctrl + ←Left | Previous Word | Move the cursor to the beginning of the previous word, skipping spaces |
| Ctrl + ⇧Shift + ←Left | Previous Word Extension | Extend text selection to the previous word from the current cursor position |
| Ctrl + ⇧Shift + Alt + ←Left | Previous Word Column Extension | Block selection to the previous word for multi-line editing |
| Ctrl + ⇧Shift + T | Transpose Word | Swap the current word with the next or previous word in the code |
| Alt + ⏎Enter | Execute in Interactive | Highlight and execute the selected code block in the Interactive Window |
| Alt + ' | Execute Line in Interactive | Execute the current line of code in the Interactive Window without selecting the entire block |
| Ctrl + K, Ctrl + G | View in Inspector | Open the element under the cursor in Peek mode (popup inspector) for analysis |
| Alt + Pg Dn | Move TFS to Next Region | Move focus to the next Team Foundation Server element in the project structure |
| Alt + Pg Up | Move TFS to Previous Region | Move focus to the previous Team Foundation Server element in the project structure |
UML Activity Diagram
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⇧Shift + Del | Delete | Delete the selected element or object from the active UML activity diagram without removing from the project |
UML Class Diagram
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⇧Shift + Del | Delete from Model | Delete the selected class, interface, or element from the active UML class diagram |
UML Component Diagram
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⇧Shift + Del | Delete from Model | Delete the selected component or module from the active UML component diagram |
UML Use Case Diagram
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⇧Shift + Del | Delete from Model | Delete the selected use case or actor from the active UML diagram |
VC Accelerator Editor
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Insert | New Accelerator | Create a new accelerator (keyboard shortcut) in the current accelerator editor |
| Ctrl + W | Next Key Type | Switch the accelerator key type to the next option (e.g., Ctrl, Alt, Shift) |
VC Dialog Editor
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ↓Down | Move Down | Move the selected dialog control one position down |
| ←Left | Move Left | Move the selected dialog control one position to the left |
| →Right | Move Right | Move the selected dialog control one position to the right |
| ↑Up | Move Up | Move the selected dialog control one position up |
| Ctrl + ←Left | Scroll Column Left | Scroll the dialog table or properties grid one column to the left |
| Ctrl + →Right | Scroll Column Right | Scroll the dialog table or properties grid one column to the right |
| Ctrl + ↓Down | Scroll Row Down | Scroll the dialog table or properties grid one row down |
| Ctrl + ↑Up | Scroll Row Up | Scroll the dialog table or properties grid one row up |
| ⇧Shift + ↓Down | Size Down | Resize the selected control, increasing its bottom boundary down by one step |
| ⇧Shift + ←Left | Size Left | Resize the selected control, increasing its left boundary to the left by one step |
| ⇧Shift + →Right | Size Right | Resize the selected control, increasing its right boundary to the right by one step |
| ⇧Shift + ↑Up | Size Up | Resize the selected control, increasing its top boundary up by one step |
| Ctrl + ⇧Shift + ↓Down | Bottom Alignment | Align the bottom edges of selected controls to one horizontal line |
| ⇧Shift + F9 | Center Alignment | Align the centers of selected controls to one vertical axis |
| Ctrl + ⇧Shift + ←Left | Left Alignment | Align the left edges of selected controls to one vertical line |
| F9 | Center Alignment | Align the horizontal centers of selected controls to one line |
| Ctrl + ⇧Shift + →Right | Right Alignment | Align the right edges of selected controls to one vertical line |
| Ctrl + ⇧Shift + ↑Up | Top Alignment | Align the top edges of selected controls to one horizontal line |
| Ctrl + B | Bottom Button | Place the selected button at the bottom of the dialog box |
| Ctrl + R | Right Button | Place the selected button at the right side of the dialog box |
| Ctrl + ⇧Shift + F9 | Horizontal Center | Center selected controls horizontally within the dialog box |
| Ctrl + F9 | Vertical Center | Center selected controls vertically within the dialog box |
| Ctrl + M | Mnemonics Check | Check and update mnemonic keys (underlined letters) in controls |
| ⇧Shift + F7 | Resize Content | Resize the selected control to match its content size |
| Alt + →Right / Alt + ←Left | Space Within | Change the inner padding of the selected container or panel of elements |
| Alt + ↑Up / Alt + ↓Down | Space Down | Change the inter-element spacing (gap) between selected controls |
| Ctrl + D | Transition Sequence | Create a transition sequence between dialog elements |
| Ctrl + T | Test | Run testing of the dialog box to verify its functionality |
| Ctrl + G | Toggle Guides | Enable or disable the display of guides in the dialog editor |
VC Image Editor
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Ctrl + A | Airbrush | Activate the airbrush tool for smooth color application with soft edges |
| Ctrl + B | Brush | Activate the brush tool for drawing lines and filling areas |
| Ctrl + ⇧Shift + U | Copy/Select Structure | Copy the structure of the selected image area for subsequent insertion |
| Ctrl + J | Opacity | Open the dialog box for configuring opacity of the current tool |
| Alt + P | Ellipse | Draw a filled ellipse on the image canvas |
| Ctrl + ⇧Shift + I | Clear | Clear the selected area of the image or the entire canvas |
| Ctrl + ⇧Shift + Alt + P | Ellipse Outline | Draw a contour (outline) of an ellipse without filling the inner area |
| Ctrl + ⇧Shift + Alt + R | Filled Rectangle | Draw a rectangle filled with the current color |
| Ctrl + ⇧Shift + Alt + W | Rounded Rectangle | Draw a rectangle with rounded corners, filled with the current color |
| Ctrl + F | Flood Fill | Fill a closed area of the image with the current color (flood fill) |
| Ctrl + H | Flip Horizontally | Mirror flip the image or selected area along the horizontal axis |
| ⇧Shift + Alt + H | Flip Vertically | Mirror flip the image or selected area along the vertical axis |
| Ctrl + = | Larger Brush | Increase the brush size by one step for wider strokes when drawing |
| Ctrl + L | Line | Activate the line tool for drawing straight segments on the canvas |
| Ctrl + M | Increase | Increase the image view zoom level for detailed work |
| Ctrl + ⇧Shift + M | Zoom In | Increase the image view zoom by a larger step |
| Insert | New Image Type | Create a new image element in the editor project |
| Ctrl + ] / Ctrl + →Right | Next Color | Switch the current drawing color to the next in the color palette |
| Ctrl + ⇧Shift + ] / Ctrl + ⇧Shift + →Right | Next Right Color | Switch the color to the next position forward in the palette |
| ⇧Shift + Alt + P | Ellipse Outline | Draw only the contour (outline) of an ellipse without inner fill |
| ⇧Shift + Alt + R | Rectangle Outline | Draw only the contour (outline) of a rectangle without fill |
| ⇧Shift + Alt + W | Rounded Outline | Draw only the contour (outline) of a rectangle with rounded corners |
| Ctrl + I | Pencil | Activate the pencil tool for drawing thin lines with pixel accuracy |
| Ctrl + [ / Ctrl + ←Left | Previous Color | Switch the current drawing color to the previous one in the color palette |
| Ctrl + ⇧Shift + [ / Ctrl + ⇧Shift + ←Left | Previous Right Color | Switch the color to the previous position backward in the palette |
| ⇧Shift + Alt + S | Rectangle Selection | Create a rectangular selection area on the image canvas |
| Alt + R | Rectangle | Activate the rectangle tool for drawing rectangular shapes |
| Ctrl + ⇧Shift + H | 90 Degree Rotation | Rotate the image or selected area 90 degrees clockwise |
| Alt + W | Rounded Rectangle | Activate the tool for drawing rectangles with rounded corners |
| Ctrl + Alt + S | Show Grid | Enable or disable the display of a grid on the canvas for precise positioning |
| Ctrl + ⇧Shift + Alt + S | Show Tile Grid | Enable or disable the display of a tiled grid on the canvas |
| Ctrl + . | Small Brush | Decrease the brush size by one step for thinner lines when drawing |
| Ctrl + - | Smaller Brush | Decrease the brush size by another step for the thinnest possible lines |
| Ctrl + T | Text | Activate the text tool for adding inscriptions to the image canvas |
| Ctrl + U | Select as Brush | Use the current selection as a source for the brush tool (stamp) |
| Ctrl + ⇧Shift + . / Ctrl + ↑Up | Zoom In | Increase the image view zoom by a standard step |
| Ctrl + ⇧Shift + , / Ctrl + ↓Down | Decrease | Decrease the image view zoom level to overview the entire canvas |
VC String Editor
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Insert | New String | Create a new string in the string table (string table) of the resource editor |
View Designer
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Ctrl + T | Cancel Data Extraction | Cancel the previous data extraction (extraction) from the database schema |
| Ctrl + 2 | Criteria | Switch to Criteria view for data filtering |
| Ctrl + 1 | Diagram | Switch to Diagram view of the database schema |
| Ctrl + R | Execute SQL | Execute the current SQL query in the database view designer |
| Ctrl + G | Goto Line | Go to a specific line or element of the database schema by number |
| Ctrl + ⇧Shift + J | Join Mode | Enable Join mode for creating connections between tables |
| Ctrl + 4 | Results | Switch to Results view of SQL query execution |
| Ctrl + 3 | SQL | Switch to SQL editor (SQL view) for writing and editing queries |
Visual Studio
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Ctrl + 1 | Method Region Hide | Collapse or hide the region (region) with methods in the current code file |
Windows Forms Designer
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⏎Enter | Toggle Breakpoint | Set or remove a breakpoint (breakpoint) on the current line of code during debugging |
| ←Left | Char left | Move the cursor one character to the left in the code editor |
| ⇧Shift + ←Left | Extension left | Extend text selection one character to the left with active selection |
| →Right | Char right | Move the cursor one character to the right in the code editor |
| ⇧Shift + →Right | Extension right | Extend text selection one character to the right with active selection |
| End | End Document | Move the cursor to the end of the current line or document |
| ⇧Shift + End | Extension End | Extend text selection to the end of the current line |
| Home | Start Document | Move the cursor to the beginning of the current line or document |
| ⇧Shift + Home | Extension Start | Extend text selection to the beginning of the current line |
| ⇥Tab | Tab | Increase the indentation (tab) of the current line or selected code block |
| ↓Down | Line down | Move the cursor one line down in the code editor |
| ⇧Shift + ↑Up | Extension down | Extend text selection up to the current cursor position |
| ↑Up | Up | Move the cursor one line up in the code editor |
| ⇧Shift + ↓Down | Extension up | Extend text selection down to the current cursor position |
| Ctrl + ↓Down | Move element down | Move the selected form element or code line down in the project structure |
| Ctrl + ←Left | Move element left | Move the selected form element to the left inside the container or panel |
| Ctrl + →Right | Move element right | Move the selected form element to the right inside the container or panel |
| Ctrl + ↑Up | Move element up | Move the selected form element up inside the container or panel |
| Esc | Cancel Selection | Deselect current form elements or close an active hint element |
| Ctrl + ⇧Shift + ↓Down | Size down | Resize the selected form element, increasing its height down by one step |
| Ctrl + ⇧Shift + ←Left | Size left | Resize the selected form element, increasing its width to the left by one step |
| Ctrl + ⇧Shift + →Right | Size right | Resize the selected form element, increasing its width to the right by one step |
| Ctrl + ⇧Shift + ↑Up | Size up | Resize the selected form element, increasing its height up by one step |
| ⇧Shift + Tab | Tab left | Decrease indentation (BackTab) of the current line or selected code block |
Work Item Editor
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⇧Shift + Alt + C | Work Item Copy | Create a copy of the current Work Item preserving all its attributes |
| F5 | Refresh | Refresh the current Work Item data from the project management system server |
| ⇧Shift + Alt + L | New Linked Work | Create a new Work Item and associate it with the current item |
Work Item Query View
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⇧Shift + Alt + C | Work Item Copy | Create a copy of the selected Work Item from the query list |
| ⇧Shift + Alt + →Right | Indent | Increase the indentation (indent) of the selected query hierarchy element |
| ⇧Shift + Alt + ←Left | Outdent | Decrease the indentation (remove indent) of the selected query hierarchy element |
| ⇧Shift + Alt + L | New Linked Work | Create a new Work Item from the query view and automatically associate it |
| F5 | Refresh | Refresh Work Item query results from the server |
| ⇧Shift + Alt + V | Toggle | Switch the view mode of Work Item data in the query |
Work Item Results View
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| ⇧Shift + Alt + C | Work Item Copy | Create a copy of the selected Work Item from the query execution results |
| ⇧Shift + Alt + →Right | Indent | Increase the indentation (indent) of the selected element in the query results |
| ⇧Shift + Alt + ←Left | Outdent | Decrease the indentation (remove indent) of the selected element in the query results |
| ⇧Shift + Alt + N | Next Work Item | Go to the next Work Item in the query results list |
| ⇧Shift + Alt + P | Previous Work Item | Go to the previous Work Item in the query results list |
| ⇧Shift + Alt + L | New Linked Work | Create a new Work Item from query results and associate with the current one |
| F5 | Refresh | Refresh Work Item query results data from the server |
| ⇧Shift + Alt + V | Toggle | Switch the display mode (view) of query execution results |
Workflow Designer
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Ctrl + K, W / Ctrl + Space / Alt + →Right | Full Word | Invoke IntelliSense for the full name hint of a workflow element |
| Alt + , | Decrease Filter Level | Decrease the filtering level of workflow element display on the diagram |
| Alt + . | Increase Filter Level | Increase the filtering level of workflow element display on the diagram |
| Ctrl + K, L / Ctrl + J | List Members | Open the IntelliSense list with available workflow elements and actions |
| Ctrl + K, P / Ctrl + ⇧Shift + Space | Parameter Info | Show information about parameters of the current workflow element (Parameters) |
| Ctrl + K, I | Quick Info | Show a quick hint (Quick info) about the workflow element under the cursor |
| Ctrl + E, C | Collapse | Collapse the selected node or group of workflow elements on the diagram |
| Ctrl + E, F | Node Connection | Connect selected workflow nodes with execution flow lines |
| Ctrl + E, N | Create Variable | Create a new variable in the current workflow for storing data |
| Ctrl + E, X | Expand All | Expand all collapsed nodes and groups of workflow elements on the diagram |
| Ctrl + E, E | Expand in Place | Expand a workflow node in place without shifting other elements |
| Ctrl + E, P | Goto Parent | Navigate to the parent element (container) in the workflow hierarchy |
| Ctrl + E, M | Focus Move | Move input focus between workflow designer elements |
| Ctrl + Alt + F6 | Designer Navigation | Enable navigation mode in the designer for moving between diagram nodes |
| Ctrl + E, R | Restore | Restore the original position or size of workflow elements |
| Ctrl + E, A | Arguments Designer | Open the designer for configuring arguments of the selected workflow element |
| Ctrl + E, I | Imports Designer | Open the designer for managing imports (imports) in the workflow |
| Ctrl + E, O | Overview Map | Open or close the Overview map for navigating a large diagram |
| Ctrl + E, V | Variables Designer | Open the designer for managing workflow variables |
| Ctrl + E, S | Selector Choice | Open a selector for choosing a switch type (switch case) in the workflow |
| Ctrl + Num + + | Increase | Increase the zoom level of the workflow diagram using the numeric keypad |
| Ctrl + Num + - | Decrease | Decrease the zoom level of the workflow diagram using the numeric keypad |
XAML (UI) Designer
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Ctrl + 0 | Fit All | Automatically adjust the XAML designer zoom level so all elements fit on screen |
| F9 | Descriptor Display | Enable or disable the display of descriptors (descriptor) of XAML interface elements |
| Ctrl + Alt + + | Zoom In | Increase the zoom level of the XAML design for detailed interface viewing |
| Ctrl + Alt + - | Zoom Out | Decrease the zoom level of the XAML design to overview the entire layout |
| F2 | Text Edit | Switch to text editing mode (TextEdit) of the selected XAML interface element |
| Ctrl + ⇧Shift + R | All | Re-select all XAML interface elements in the designer |
| Ctrl + F9 | Run Code | Execute code (Run code) for the selected XAML element or layout |
| Ctrl + H | Hide (only blend) | Hide the selected XAML interface element (feature available in Adobe Blend) |
| Ctrl + L | Lock (only blend) | Lock the selected XAML interface element from changes (Blend feature) |
| Ctrl + ⇧Shift + H | Show (only blend) | Show a hidden XAML interface element (feature available in Adobe Blend) |
| Ctrl + ⇧Shift + L | Unlock (only blend) | Unlock a locked XAML interface element (Blend feature) |
| Ctrl + ⇧Shift + , | Left Edge | Align the selected element to the left edge of the container (Left edge alignment) |
| Ctrl + ⇧Shift + . | Move Left | Move the selected XAML element one position to the left in the interface layout |
| Ctrl + ⇧Shift + Alt + , | Edges Left | Move the selected element to the left edge of the container (Left margin alignment) |
| Ctrl + ⇧Shift + Alt + . | Move to Left Edge | Move the selected element to the extreme left boundary in the XAML interface layout |
| Ctrl + Space | Property Marker Menu | Open the property marker menu for quick access to XAML element properties |
XML Text Editor
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Alt + F5 | Start XSLT Debugging | Start XSLT debugging in the XML editor with step-by-step analysis capability |
| Ctrl + Alt + F5 | Start Without Debugging | Start XSLT execution in the XML editor without debugging mode |
XML Schema Designer
| Keyboard Shortcuts | Name | Description |
|---|---|---|
| Alt + ↑Up | Bottom to Top | Switch XML schema orientation to bottom-to-top element layout |
| Alt + →Right | Left to Right | Switch XML schema orientation to left-to-right element layout |
| Alt + ←Left | Right to Left | Switch XML schema orientation to right-to-left element layout |
| Alt + ↓Down | Top to Bottom | Switch XML schema orientation to top-to-bottom element layout |
| Delete | Delete from Workspace | Delete the selected XML schema element or component from the designer workspace |
| Ctrl + 2 | Content Model View | Switch to Content model view of the XML schema |
| Ctrl + 3 | Graph View | Switch to Graph view of the XML schema structure |
| Ctrl + 1 | Initial View | Switch to the initial (original) view of the XML schema in the designer |