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
Copy file name to clipboardExpand all lines: docs/ide/identifying-and-customizing-keyboard-shortcuts-in-visual-studio.md
+22-2Lines changed: 22 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,11 +37,12 @@ If a shortcut is assigned to a command in the **Global** context and no other co
37
37
38
38
## Identify a keyboard shortcut
39
39
40
+
:::moniker range="visualstudio"
40
41
1. On the menu bar, choose **Tools** > **Options**.
41
42
42
-
1. Expand **Environment**, and then choose **Keyboard**.
43
+
1. Expand **All Settings** > **Environment**, and then choose **Keyboard**, and select the **Keyboard** link.
43
44
44
-
:::image type="content" source="media/tools-options-environment-keyboard.png" alt-text="Screenshot of Environment options in Visual Studio with the Keyboard option selected.":::
45
+
:::image type="content" source="media/visualstudio/tools-options-environment-keyboard.png" alt-text="Screenshot of Environment options in Visual Studio with the Keyboard option selected.":::
45
46
46
47
1. In the **Show commands containing** box, enter all or part of the name of the command without spaces.
47
48
@@ -54,7 +55,26 @@ If a shortcut is assigned to a command in the **Global** context and no other co
54
55
1. If the command has a keyboard shortcut, it appears in the **Shortcuts for selected command** list.
55
56
56
57
:::image type="content" source="media/view-solution-explorer-command-shortcut.png" alt-text="Screenshot of the keyboard shortcut for the View.SolutionExplorer command.":::
58
+
:::moniker-end
59
+
:::moniker range="vs-2022"
60
+
1. On the menu bar, choose **Tools** > **Options**.
61
+
62
+
1. Expand **Environment**, and then choose **Keyboard**.
63
+
64
+
:::image type="content" source="media/tools-options-environment-keyboard.png" alt-text="Screenshot of Environment options in Visual Studio 2022 with the Keyboard option selected.":::
57
65
66
+
1. In the **Show commands containing** box, enter all or part of the name of the command without spaces.
67
+
68
+
For example, you can find commands that contain *solutionexplorer*.
69
+
70
+
1. In the list, choose the correct command.
71
+
72
+
For example, you can choose **View.SolutionExplorer**.
73
+
74
+
1. If the command has a keyboard shortcut, it appears in the **Shortcuts for selected command** list.
75
+
76
+
:::image type="content" source="media/view-solution-explorer-command-shortcut.png" alt-text="Screenshot of the keyboard shortcut for the View.SolutionExplorer command.":::
77
+
:::moniker-end
58
78
## Customize a keyboard shortcut
59
79
60
80
1. On the menu bar, choose **Tools** > **Options**.
0 commit comments