Skip to content

Commit 46456eb

Browse files
Learn Build Service GitHub AppLearn Build Service GitHub App
authored andcommitted
Merging changes synced from https://github.com/MicrosoftDocs/visualstudio-docs-pr (branch live)
2 parents adfb23b + daacc99 commit 46456eb

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

docs/ide/code-styles-and-code-cleanup.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,19 @@ Code style preferences allow you to control aspects of code such as indent style
2222
- For all code you edit in Visual Studio based on settings for the text editor [.NET Options page](#net-code-styles-in-the-options-dialog-box) or [C/C++ Options page](#cc-code-styles-in-the-options-dialog-box).
2323

2424
You can also configure Visual Studio to apply code style preferences using the **Code Cleanup** and **Format Document** commands.
25+
2526
::: moniker-end
2627

2728
::: moniker range="vs-2019"
2829
You can define code style settings per-project by using an [EditorConfig file](#code-styles-in-editorconfig-files), or for all code you edit in Visual Studio on the text editor [.NET Options page](#net-code-styles-in-the-options-dialog-box) or [C/C++ Options page](#cc-code-styles-in-the-options-dialog-box). For C# code, you can also configure Visual Studio to apply these code style preferences using the **Code Cleanup** (Visual Studio 2019) and **Format Document** (Visual Studio 2017) commands.
2930
::: moniker-end
3031

32+
::: zone pivot="programming-language-dotnet,programming-language-dotnetf"
33+
For .NET, the code style preferences are based on .NET compiler platform (Roslyn) analyzers. For more information, see [Code analysis using .NET compiler platform (Roslyn) analyzers](../code-quality/roslyn-analyzers-overview.md).
34+
35+
In Visual Studio 2019 version 16.5 and later, rule set files are deprecated in favor of EditorConfig files for code style configuration for .NET code. For more information, see [Convert an existing rule set file to an EditorConfig file](../code-quality/use-roslyn-analyzers.md#convert-an-existing-rule-set-file-to-an-editorconfig-file).
36+
::: zone-end
37+
3138
::: zone pivot="programming-language-dotnet,programming-language-cpp,programming-language-dotnetf"
3239
## Code styles in EditorConfig files
3340

docs/ide/work-with-github-accounts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In this article, you learn how to add your public GitHub or GitHub Enterprise ac
2929

3030
You can add your public GitHub account at first launch or later, without needing to [sign into Visual Studio with a Microsoft account, work account, or school account](signing-in-to-visual-studio.md#sign-in-to-your-account). You can add multiple GitHub accounts to the IDE. The first account added becomes the **active** account, but you can switch the active account to another one at any time. Adding multiple GitHub accounts impacts Copilot, and version control scenarios, as well as general GitHub authentication experiences across Visual Studio.
3131

32-
If you have [GitHub Copilot installed](visual-studio-github-copilot-install-and-states.md), you can add a GitHub account with a Copilot subscription by selecting **Sign in to use Copilot** from the [GitHub Copilot status icon](visual-studio-github-copilot-install-and-states.md#copilot-is-inactive) or [**Sign up for Copilot Free**](copilot-free-plan.md) from the chat window, even if you haven't [signed into Visual Studio with a Microsoft account, work account, or school account](signing-in-to-visual-studio.md#sign-in-to-your-account).
32+
If you have [GitHub Copilot installed](visual-studio-github-copilot-install-and-states.md), you can add a GitHub account with a Copilot subscription by selecting **Sign in to use Copilot** from the [GitHub Copilot status icon](visual-studio-github-copilot-install-and-states.md#copilot-is-inactive) or [**Sign up for Copilot Free**](copilot-free-plan.md) from the chat window, even if you haven't [signed into Visual Studio with a Microsoft account, work account, or school account](signing-in-to-visual-studio.md#sign-in-to-your-account). You can now also sign in with your [Google account linked to your GitHub account](https://github.blog/changelog/2025-07-15-social-login-with-google-is-now-generally-available), offering more flexibility for authentication.
3333

3434
### Add a GitHub account at first launch
3535

0 commit comments

Comments
 (0)