You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn about the keyboard shortcuts and productivity features in Visual Studio that can help you efficiently write code, debug code, and handle errors.
4
-
ms.date: 03/05/2025
4
+
ms.date: 04/08/2025
5
5
ms.topic: conceptual
6
6
author: Mikejo5000
7
7
ms.author: mikejo
@@ -23,7 +23,13 @@ Save time digging through menus by quickly searching for anything you need, incl
23
23
-**Mock code using task list**. If you don't have enough requirements to complete a piece of code, use Task List to track code comments that use tokens such as `TODO` and `HACK`, or custom tokens, and to manage shortcuts that take you directly to a predefined location in code. For more information, see [Use the Task List](../ide/using-the-task-list.md).
24
24
25
25
-**Use Solution Explorer shortcuts**. If you're new to Visual Studio, these shortcuts come in handy and save you time while you're coming up to speed on a new codebase. For the full list of shortcuts, see [Default keyboard shortcuts in Visual Studio](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_solutionexplorerGLOBAL).
26
+
::: zone-end
26
27
28
+
::: zone pivot="programming-language-csharp"
29
+
-**Use keyboard shortcuts from a different editor**. If you're coming from another IDE or coding environment, you can change your keyboard scheme to *Visual Studio Code* or *ReSharper (Visual Studio)* using **Tools > Options** settings for **Environment > Keyboard**. Some extensions also offer keyboard schemes: [HotKeys for Visual Studio (ReSharper/IntelliJ)](https://marketplace.visualstudio.com/items?itemName=JustinClareburtMSFT.HotKeys) and [VSVim](https://marketplace.visualstudio.com/items?itemName=JaredParMSFT.VsVim).
30
+
::: zone-end
31
+
32
+
::: zone pivot="programming-language-csharp,programming-language-cpp,programming-language-vb,programming-language-all"
27
33
-**[Identify and customize keyboard shortcuts in Visual Studio](../ide/identifying-and-customizing-keyboard-shortcuts-in-visual-studio.md)**. You can identify keyboard shortcuts for Visual Studio commands, customize those shortcuts, and export them for others to use. You can always find and change a keyboard shortcut in the Options dialog box.
28
34
29
35
-**Make Visual Studio more accessible**. Visual Studio has built-in accessibility features that are compatible with screen readers and other assistive technologies. See [Accessibility tips and tricks for Visual Studio](../ide/reference/accessibility-tips-and-tricks.md) for the full list of available features.
@@ -79,6 +85,16 @@ Write code more quickly by using the following features.
79
85
::: moniker-end
80
86
::: zone-end
81
87
88
+
::: zone pivot="programming-language-csharp"
89
+
-**Apply code styles with code cleanup** Visual Studio provides on-demand formatting of your code file, including code style preferences, through the Code Cleanup feature. To run Code Cleanup, select the broom icon at the bottom of the editor or press **Ctrl+K, Ctrl+E**. For detailed instructions, see [Code style preferences](../ide/code-styles-and-code-cleanup.md).
90
+
::: zone-end
91
+
92
+
::: zone pivot="programming-language-csharp,programming-language-cpp,programming-language-vb"
93
+
::: moniker range=">=vs-2022"
94
+
-**Write or generate unit tests** Test Explorer automatically discovers unit tests written using supported test frameworks. You can use Copilot or built-in features to generate unit tests. For more information, see [Unit test basics](../test/unit-test-basics.md) and [Create unit test method stubs from code](../test/create-unit-tests-menu.md).
95
+
::: moniker-end
96
+
::: zone-end
97
+
82
98
::: zone pivot="programming-language-csharp,programming-language-vb"
83
99
-**Install and manage NuGet packages in Visual Studio**. NuGet is a mechanism through which developers can create, share, and consume useful code. The NuGet Package Manager UI in Visual Studio on Windows allows you to easily install, uninstall, and update NuGet packages in projects and solutions. For more information, see [Install and manage packages in Visual Studio using the NuGet Package Manager](/nuget/consume-packages/install-use-packages-visual-studio).
84
100
::: zone-end
@@ -103,6 +119,8 @@ You can use various techniques to find and move to specific locations in your co
103
119
104
120
-**See frequently used files with Edit/Go to Recent File**. Use the Go To commands in Visual Studio to perform a focused search of your code to help you quickly find specified items. For detailed instructions, see [Find code using Go To commands](../ide/go-to.md).
105
121
122
+
-**Jump to any file, type, member, or symbol declaration.** Visual Studio has a feature called **Go To All** that you can use to quickly find the code you want. For detailed instructions, see [Find code using Go To commands](../ide/go-to.md).
123
+
106
124
-**Synchronize Solution Explorer** For large solutions, use the **Sync with Active Document** button in Solution Explorer to find the active document within the project hierarchy.
107
125
108
126
-**Move the [Properties window](../ide/reference/properties-window.md) to the right-hand side**. If you're looking for a more familiar window layout, you can move the Properties window in Visual Studio by pressing **F4**.
0 commit comments