Skip to content

Commit 2a06815

Browse files
author
mikeblome
committed
added toc entry and updated wording
1 parent 3906fd0 commit 2a06815

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

docs/ide/how-to-set-preferences.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "How to set your preferences"
2+
title: "Set your C++ coding preferences in Visual Studio"
33
ms.date: "09/24/2019"
44
---
55

@@ -19,15 +19,15 @@ To hide all the tool windows and maximize the Code Editor window, press **Alt**
1919

2020
## Set C++ coding styles and formatting
2121

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):
2323

2424
![ClangFormat options](media/clang-format-ide.png)
2525

2626
For more information about all the formatting options, see [Options, Text Editor, C/C++, Formatting](/visualstudio/ide/reference/options-text-editor-c-cpp-formatting).
2727

2828
## Set the color theme
2929

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**:
3131

3232
![Color themes](media/tools-options-color-theme.png)
3333

@@ -45,7 +45,7 @@ In the **Visual Studio 2017** color scheme, most code elements are simply black.
4545

4646
![Enhanced Color Scheme](media/color-scheme-enhanced.png)
4747

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:
4949

5050
![C++ font and color options](media/tools-options-cpp-colors.png)
5151

@@ -67,10 +67,10 @@ For more information, see [How to: Customize menus and toolbars in Visual Studio
6767

6868
## Show or hide line numbers
6969

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**:
7171

7272
![Line numbers](media/tools-options-line-numbers.png)
7373

7474
## Create keyboard shortcuts
7575

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**. 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).

docs/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,6 +1521,8 @@
15211521
href: ide/writing-and-refactoring-code-cpp.md
15221522
- name: Navigate C++ code
15231523
href: ide/navigate-code-cpp.md
1524+
- name: Set your C++ coding preferences
1525+
href: ide/how-to-set-preferences.md
15241526
- name: Collaborate using Live Share for C++
15251527
href: ide/live-share-cpp.md
15261528
- name: Change signature

0 commit comments

Comments
 (0)