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 how to use default shortcut key combinations to make it easy to navigate and code within the Visual Studio integrated development environment (IDE)."
4
-
ms.date: 08/22/2016
4
+
ms.date: 05/10/2019
5
5
ms.topic: conceptual
6
6
helpviewer_keywords:
7
7
- "Toolbox, shortcut keys"
@@ -19,84 +19,90 @@ ms.workload:
19
19
---
20
20
# How to: Use the keyboard exclusively
21
21
22
+
Keyboard shortcuts can make it easier to navigate the Visual Studio IDE and to code. We'll explore a few ways you can use keyboard shortcuts more effectively.
23
+
24
+
For a full listing of shortcut keys in Visual Studio, see [Default keyboard shortcuts](../../ide/default-keyboard-shortcuts-in-visual-studio.md). For information on keyboard shortcuts available for other Microsoft products, see [https://www.microsoft.com/accessibility/](http://go.microsoft.com/fwlink/?LinkID=40400).
25
+
26
+
::: moniker range="vs-2017"
27
+
22
28
> [!TIP]
23
-
> To learn more about recent accessibility updates, see the [Accessibility improvements in Visual Studio 2017 version 15.3](https://devblogs.microsoft.com/visualstudio/accessibility-improvements-in-visual-studio-2017-version-15-3/) blog post.
29
+
> To learn more about accessibility updates, see the [Accessibility improvements in Visual Studio 2017 version 15.3](https://devblogs.microsoft.com/visualstudio/accessibility-improvements-in-visual-studio-2017-version-15-3/) blog post.
24
30
25
-
[!INCLUDE[vsprvs](../../code-quality/includes/vsprvs_md.md)] provides many default shortcut key combinations to make it easy to navigate and code within the integrated development environment (IDE). For a full listing of shortcut keys used in Visual Studio, see [Default keyboard shortcuts](../../ide/default-keyboard-shortcuts-in-visual-studio.md). For information on keyboard shortcuts available for other Microsoft products, see [http://www.microsoft.com/enable/products/keyboard.aspx](http://go.microsoft.com/fwlink/?LinkID=40400).
31
+
::: moniker-end
26
32
27
33
> [!NOTE]
28
-
> The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose **Import and Export Settings** on the **Tools** menu. For more information, see [Reset settings](../environment-settings.md#reset-settings).
34
+
> Depending on your settings or the edition of Visual Studio you use, the dialog boxes and menu commands you see might differ from those described in Help. To change your settings, choose **Import and Export Settings** on the **Tools** menu. For more information, see [Reset settings](../environment-settings.md#reset-settings).
29
35
30
36
## Toolbox controls
31
37
32
-
You can add a control on the Toolbox to a form or designer using the keyboard.
38
+
You can add a control on the Toolbox to a form or designer by using the keyboard.
33
39
34
40
### To add controls from the Toolbox to a designer from the keyboard
35
41
36
42
1. On the menu bar, choose **View** > **Toolbox**.
37
43
38
-
2. Use the Ctrl + Up Arrow or Ctrl + Down Arrow keys to move among the sections in the current Toolbox tab.
44
+
2. Use the **Ctrl+Up arrow** or **Ctrl+Down arrow** keyboard shortcuts to move among the sections in the **Toolbox** tab.
39
45
40
-
3. Use the Up Arrow or **Down Arrow** keys to move among the controls.
46
+
3. Use the **Up arrow** key or **Down arrow** keys to move among the controls.
41
47
42
-
4. After the control is selected, use the Enter key.
48
+
4. After you select the control, use the **Enter** key.
43
49
44
-
The control is added to the form or designer.
50
+
Visual Studio adds the control to the form or designer.
45
51
46
52
## Dialog box options
47
53
48
-
You can move among the options in a dialog and change option settings using the keyboard.
54
+
You can move among the options in a dialog and change option settings by using the keyboard.
49
55
50
56
### To set dialog box options from the keyboard
51
57
52
-
1. Use **Tab** or **Shift** + **Tab** to move up and down through the controls in the dialog box.
58
+
1. Use **Tab** or **Shift**+**Tab** to move up and down through the controls in the dialog box.
53
59
54
60
2. To change option settings:
55
61
56
-
- For radio buttons, use **UP ARROW** and **DOWN ARROW** to change the selection.
62
+
- For radio buttons, use **Up arrow** and **Down arrow** keys to change the selection.
57
63
58
-
- For check boxes, use **SPACEBAR** to select or unselect.
64
+
- For check boxes, use the **Spacebar** to select or unselect.
59
65
60
-
- For drop-down lists, use **Alt** + **DOWNARROW**to display items and then use **UPARROW** and **DOWNARROW** to change the selected item.
66
+
- For drop-down lists, use **Alt+Down arrow** key to display items, and then use **Up arrow** and **Down arrow** keys to change the selected item.
61
67
62
-
- For buttons, press**Enter** to invoke.
68
+
- For buttons, select**Enter** to invoke.
63
69
64
-
- For grids, use the Arrow keys to navigate. For drop-down lists in grids, use **Shift** + **Alt** + **DOWNARROW** to display items and then use **UPARROW** and **DOWNARROW** to change the selected item.
70
+
- For grids, use the arrow keys to navigate. For drop-down lists in grids, use **Shift** + **Alt** + **Down arrow key** to display items, and then use **Up arrow** and **Down arrow** keys to change the selected item.
65
71
66
72
## Window and file navigation
67
73
68
-
The IDE provides several ways for you to move among open tool and document windows using the keyboard. You can also move and dock tool windows in different locations using the keyboard.
74
+
There are several ways that you can use the keyboard to move between open tool and document windows. You can also move and dock tool windows in different locations by using the keyboard.
69
75
70
76
### To navigate among windows and files in the IDE from the keyboard
71
77
72
-
- To move among files in an editor or designer, choose CTRL + TAB keys to display the IDE Navigator with **Active Files** selected. Choose the Enter key to navigate to the highlighted file.
78
+
- To move among files in an editor or designer, choose the **Ctrl+Tab** keyboard shortcut to display the IDE Navigator with **Active Files** selected. Choose the **Enter** key to navigate to the highlighted file.
73
79
74
-
- To move among docked tool windows, choose Alt + F7 to display the IDE Navigator with **Active Tool Windows** selected. Choose the Enter key to navigate to the highlighted window.
80
+
- To move among docked tool windows, choose the **Alt+F7** keyboard shortcut to display the IDE Navigator with **Active Tool Windows** selected. Choose the **Enter** key to navigate to the highlighted window.
75
81
76
82
### To move and dock tool windows from the keyboard
77
83
78
84
1. Navigate to the tool window you intend to move and give it focus.
79
85
80
-
2. On the **Window** menu, select the **Dockable** option.
86
+
2. On the **Window** menu, select the **Dockable** option.
81
87
82
-
3.Press **ALT** + **Space** and then choose **Move**.
88
+
3.Use the **Alt**+**Spacebar** keyboard shortcut, and then choose **Move**.
83
89
84
90
The docking guide diamond appears.
85
91
86
-
4. Use the **ARROW** keys to move the window to a new location.
92
+
4. Use the arrow keys to move the window to a new location.
87
93
88
-
The mouse pointer moves with the window as you use the **ARROW** keys.
94
+
The mouse pointer moves with the window as you use the arrow keys.
89
95
90
-
5. When you have reached the new location, use the **ARROW** keys to move the mouse pointer over the correct portion of the guide diamond.
96
+
5. When you've reached the new location, use the arrow keys to move the mouse pointer over the correct portion of the guide diamond.
91
97
92
98
An outline of the tool window appears in the new docking location.
93
99
94
-
6.Press**ENTER**.
100
+
6.Select**Enter**.
95
101
96
102
The tool window snaps into place at the new docking location.
97
103
98
104
## See also
99
105
100
106
*[Identifying and customizing keyboard shortcuts](../../ide/identifying-and-customizing-keyboard-shortcuts-in-visual-studio.md)
101
107
*[Accessibility tips and tricks](../../ide/reference/accessibility-tips-and-tricks.md)
0 commit comments