|
1 | 1 | ---
|
2 | 2 | title: Keyboard shortcuts
|
3 | 3 | description: Learn about the default keyboard shortcuts in Visual Studio that allow you to access a variety of commands and windows.
|
4 |
| -ms.date: 05/21/2024 |
| 4 | +ms.date: 08/13/2024 |
5 | 5 | ms.topic: reference
|
6 | 6 | helpviewer_keywords:
|
7 | 7 | - shortcut keys [Visual Studio], keyboard binding schemes
|
@@ -39,7 +39,7 @@ All shortcuts in this section apply globally unless otherwise specified. The *Gl
|
39 | 39 | > [!TIP]
|
40 | 40 | > You can [look up the shortcut](identifying-and-customizing-keyboard-shortcuts-in-visual-studio.md) for any command by opening the **Options** dialog box, expanding the **Environment** node, and then choosing **Keyboard**.
|
41 | 41 |
|
42 |
| -- [Build](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_build-popular-shortcuts) |
| 42 | +- [Build](#bkmk_build-popular-shortcuts) |
43 | 43 | - [Debug](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_debug-popular-shortcuts)
|
44 | 44 | - [Edit](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_edit-popular-shortcuts)
|
45 | 45 | - [File](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_file-popular-shortcuts)
|
@@ -124,6 +124,7 @@ All shortcuts in this section apply globally unless otherwise specified. The *Gl
|
124 | 124 | |Toggle all outlining|**Ctrl+M, Ctrl+L** [Text Editor]| Edit.ToggleAllOutlining |
|
125 | 125 | |Toggle bookmark|**Ctrl+K, Ctrl+K** [Text Editor]| Edit.ToggleBookmark |
|
126 | 126 | |Toggle completion mode|**Ctrl+Alt+Space** [Text Editor]| Edit.ToggleCompletionMode |
|
| 127 | +|Toggle line comment|**Ctrl+/** [Text Editor] <br>(available in [Visual Studio 2022 version 17.11 or later](/visualstudio/releases/2022/release-notes))<br /><br />or **Ctrl+K, Ctrl+/** [Text Editor] | Edit.ToggleLineComment | |
127 | 128 | |Toggle outlining expansion|**Ctrl+M, Ctrl+M** [Text Editor]| Edit.ToggleOutliningExpansion |
|
128 | 129 | |Uncomment selection|**Ctrl+K, Ctrl+U** [Text Editor]| Edit.UncommentSelection |
|
129 | 130 | |Undo|**Ctrl+Z**<br /><br />or **Alt+Backspace**| Edit.Undo |
|
|
0 commit comments