From fcb332423522ffe327be209867a6de2ebfb7d286 Mon Sep 17 00:00:00 2001 From: stevenwdv Date: Mon, 6 Jan 2025 16:25:00 +0100 Subject: [PATCH] Update create-portable-custom-editor-options.md Fix setting name --- docs/ide/create-portable-custom-editor-options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ide/create-portable-custom-editor-options.md b/docs/ide/create-portable-custom-editor-options.md index c6eb8cb0759..650313e2712 100644 --- a/docs/ide/create-portable-custom-editor-options.md +++ b/docs/ide/create-portable-custom-editor-options.md @@ -19,7 +19,7 @@ To enforce consistent coding styles for everyone that works in a codebase, you c In Visual Studio, EditorConfig file settings take precedence over the various global text editor settings available under **Tools** > **Options** > **Text Editor** > **C/C++** > **Code Style**. You can use an EditorConfig file to tailor each codebase to use text editor settings that are specific to that project. -You can manually populate an EditorConfig file, or automatically generate it based on the code style settings you've chosen in Visual Studio. To create a new `.editorconfig` file based on your current Visual Studio settings, from the Visual Studio main menu choose **Tools** > **Options** > **Text Editor** > **C/C++** > **General**. Then choose **Generate .editorconfig file from settings**. Choose the folder where your project is and then choose **Select Folder** to save the `.editorconfig` file. +You can manually populate an EditorConfig file, or automatically generate it based on the code style settings you've chosen in Visual Studio. To create a new `.editorconfig` file based on your current Visual Studio settings, from the Visual Studio main menu choose **Tools** > **Options** > **Text Editor** > **C/C++** > **Code Style**. Then choose **Generate .editorconfig file from settings**. Choose the folder where your project is and then choose **Select Folder** to save the `.editorconfig` file. When you use an EditorConfig file, you can still continue to set your own personal editor preferences in the Visual Studio text editor. These text editor settings apply whenever you're working in a codebase without an EditorConfig file, or when the EditorConfig file doesn't override a particular setting. An example of such a preference is whether to use tabs or spaces for the code indent style.