From 19fde51a109a49f694c8a2e4b1625c34cabe823a Mon Sep 17 00:00:00 2001 From: Kirill Osenkov Date: Sat, 5 Oct 2024 20:26:12 -0700 Subject: [PATCH 01/11] Support hidden severity for analyzers and code fixes Without this, you can't fix diagnostics such as --diagnostics VSTHRD111 --severity hidden --- src/BuiltInTools/dotnet-format/Commands/FormatCommandCommon.cs | 3 ++- src/BuiltInTools/dotnet-format/FixSeverity.cs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/BuiltInTools/dotnet-format/Commands/FormatCommandCommon.cs b/src/BuiltInTools/dotnet-format/Commands/FormatCommandCommon.cs index 64548392e484..9814c416fba3 100644 --- a/src/BuiltInTools/dotnet-format/Commands/FormatCommandCommon.cs +++ b/src/BuiltInTools/dotnet-format/Commands/FormatCommandCommon.cs @@ -17,7 +17,7 @@ internal static class FormatCommandCommon internal const int UnableToLocateMSBuildExitCode = 3; private static string[] VerbosityLevels => new[] { "q", "quiet", "m", "minimal", "n", "normal", "d", "detailed", "diag", "diagnostic" }; - private static string[] SeverityLevels => new[] { "info", "warn", "error" }; + private static string[] SeverityLevels => new[] { "info", "warn", "error", "hidden" }; public static readonly Argument SlnOrProjectArgument = new Argument(Resources.SolutionOrProjectArgumentName) { @@ -290,6 +290,7 @@ internal static DiagnosticSeverity GetSeverity(string? severity) FixSeverity.Error => DiagnosticSeverity.Error, FixSeverity.Warn => DiagnosticSeverity.Warning, FixSeverity.Info => DiagnosticSeverity.Info, + FixSeverity.Hidden => DiagnosticSeverity.Hidden, _ => throw new ArgumentOutOfRangeException(nameof(severity)), }; } diff --git a/src/BuiltInTools/dotnet-format/FixSeverity.cs b/src/BuiltInTools/dotnet-format/FixSeverity.cs index 47b719bda074..8ea9fc094a36 100644 --- a/src/BuiltInTools/dotnet-format/FixSeverity.cs +++ b/src/BuiltInTools/dotnet-format/FixSeverity.cs @@ -7,5 +7,6 @@ public static class FixSeverity public const string Error = "error"; public const string Warn = "warn"; public const string Info = "info"; + public const string Hidden = "hidden"; } } From 50dcf2df81fe55e5d5cd2745649fa9b450b73f17 Mon Sep 17 00:00:00 2001 From: Jacques Eloff Date: Tue, 9 Sep 2025 21:21:04 -0700 Subject: [PATCH 02/11] Accessibility: Select header by default --- src/Layout/pkg/windows/bundles/sdk/bundle.thm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Layout/pkg/windows/bundles/sdk/bundle.thm b/src/Layout/pkg/windows/bundles/sdk/bundle.thm index 0b8a551e1168..a9ed6a319c7d 100644 --- a/src/Layout/pkg/windows/bundles/sdk/bundle.thm +++ b/src/Layout/pkg/windows/bundles/sdk/bundle.thm @@ -81,7 +81,7 @@ - -