From 174b28e62c10b342594478e0ff5f93398ac42bba Mon Sep 17 00:00:00 2001 From: Flipp Syder <76629141+vulppine@users.noreply.github.com> Date: Sat, 29 Apr 2023 09:26:13 -0700 Subject: [PATCH] Adds formatting issue analyzing in Omnisharp (VSCode) (#15809) --- .editorconfig | 2 +- .vscode/settings.json | 3 +++ omnisharp.json | 6 ++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json create mode 100644 omnisharp.json diff --git a/.editorconfig b/.editorconfig index 3e71517eba..0409377f1d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -196,7 +196,7 @@ csharp_preserve_single_line_blocks = true #dotnet_naming_style.begins_with_i.word_separator = #dotnet_naming_style.begins_with_i.capitalization = pascal_case - +dotnet_diagnostic.IDE0055.severity = warning dotnet_naming_rule.constants_rule.severity = warning dotnet_naming_rule.constants_rule.style = upper_camel_case_style diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..eed7d291a2 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "omnisharp.analyzeOpenDocumentsOnly": true +} diff --git a/omnisharp.json b/omnisharp.json new file mode 100644 index 0000000000..6da6166f02 --- /dev/null +++ b/omnisharp.json @@ -0,0 +1,6 @@ +{ + "RoslynExtensionsOptions": { + "DocumentAnalysisTimeoutMs": 600000, + "EnableAnalyzersSupport": true + } +}