Skip to content

Commit 7c744a5

Browse files
authored
Merge pull request #10638 from HW12Dev/cpp-formatting-fix
Updated the C/C++ formatting page to reflect changes in VS2022
2 parents 411a216 + 7572af3 commit 7c744a5

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed
43 KB
Loading

docs/ide/reference/options-text-editor-c-cpp-formatting.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,22 @@ manager: markl
1919

2020
Use these property pages to change the default behavior of the code editor when you are programming in C or C++.
2121

22-
![C++ Formatting property pages](media/cpp-formatting.png)
22+
::: moniker range=">=vs-2022"
23+
24+
:::image type="content" source="media/vs-2022/tools-options-text-editor-c-cpp-formatting.png" alt-text="Screenshot of the Formatting settings for the C/C++ text editor in the Options dialog box.":::
25+
26+
To access this page, in the **Options** dialog box, in the left pane, expand **Text Editor**, expand **C/C++**, expand **Code Style**, and then click **Formatting**.
27+
28+
::: moniker-end
29+
30+
::: moniker range="<=vs-2019"
31+
32+
:::image type="content" source="media/vs-2019/tools-options-text-editor-c-cpp-formatting.png" alt-text="Screenshot of the Formatting settings for the C/C++ text editor in the Options dialog box.":::
2333

2434
To access this page, in the **Options** dialog box, in the left pane, expand **Text Editor**, expand **C/C++**, and then click **Formatting**.
2535

36+
::: moniker-end
37+
2638
> [!NOTE]
2739
> Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. The Visual Studio edition that you have and the settings that you use determine these elements. For more information, see [Personalize the Visual Studio IDE](../../ide/personalizing-the-visual-studio-ide.md).
2840

0 commit comments

Comments
 (0)