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/how-to-set-preferences.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: "How to set your preferences"
2
+
title: "Set your C++ coding preferences in Visual Studio"
3
3
ms.date: "09/24/2019"
4
4
---
5
5
@@ -19,15 +19,15 @@ To hide all the tool windows and maximize the Code Editor window, press **Alt**
19
19
20
20
## Set C++ coding styles and formatting
21
21
22
-
You can specify many individual code formatting options such as indentation and brace positions by navigating to **Tools** > **Options** > **Text Editor** > **C/C++** > **Formatting**. Alternatively, you can specify one of the [ClangFormat](https://clang.llvm.org/docs/ClangFormat.html) styles (or your own custom ClangFormat style):
22
+
You can specify many individual code formatting options such as indentation and brace positions by navigating to **Tools** > **Options** > **Text Editor** > **C/C++** > **Formatting** (or type **Ctrl + Q** and search for "Formatting"). Alternatively, you can specify one of the [ClangFormat](https://clang.llvm.org/docs/ClangFormat.html) styles (or your own custom ClangFormat style):
For more information about all the formatting options, see [Options, Text Editor, C/C++, Formatting](/visualstudio/ide/reference/options-text-editor-c-cpp-formatting).
27
27
28
28
## Set the color theme
29
29
30
-
To set a light or dark background, navigate to**Tools** > **Options** > **Environment** and choose **Color Theme**:
30
+
To set a light or dark background, type **Ctrl + Q** and search for "Color Theme". You can also get there via**Tools** > **Options** > **Environment** and choose **Color Theme**:
@@ -45,7 +45,7 @@ In the **Visual Studio 2017** color scheme, most code elements are simply black.
45
45
46
46

47
47
48
-
Regardless of which theme or color scheme is active, you can customize the font and colors for individual code elements by navigating to **Tools** > **Options** > **Environment** > **Fonts and Colors**. Scroll down the list of display items until you see the C++ options:
48
+
Regardless of which theme or color scheme is active, you can customize the font and colors for individual code elements by navigating to **Tools** > **Options** > **Environment** > **Fonts and Colors** (or type **Ctrl + Q** and search for "Fonts"). Scroll down the list of display items until you see the C++ options:
49
49
50
50

51
51
@@ -67,10 +67,10 @@ For more information, see [How to: Customize menus and toolbars in Visual Studio
67
67
68
68
## Show or hide line numbers
69
69
70
-
To specify whether line numbers show on the left of the editor windows, navigate to and check or uncheck**Line Numbers**:
70
+
To specify whether line numbers show on the left of the editor windows, navigate to and check or un-check**Line Numbers**:
All commands in Visual Studio can be made with keyboard shortcuts using various combinations of keys with the Ctrl, Alt and Shift keys. You can create your own shortcuts by navigating to **Tools** > **Options** > **Environment** > **Keyboard**. For more information, see [Identify and customize keyboard shortcuts in Visual Studio](/visualstudio/ide/identifying-and-customizing-keyboard-shortcuts-in-visual-studio).
76
+
All commands in Visual Studio can be made with keyboard shortcuts using various combinations of keys with the Ctrl, Alt and Shift keys. You can create your own shortcuts by navigating to **Tools** > **Options** > **Environment** > **Keyboard** (or type **Ctrl + Q** and search for "shortcuts"). For more information, see [Identify and customize keyboard shortcuts in Visual Studio](/visualstudio/ide/identifying-and-customizing-keyboard-shortcuts-in-visual-studio).
0 commit comments