We have an .editorconfig file which has coding style requirements for all our projects. Part of the team use Rider, another part use VS. I'm trying to ...
We have an .editorconfig file which has coding style requirements for all our projects. Part of the team use Rider, another part use VS. I'm trying to ...
If I understand correctly, there are two kinds of code analysis available for C# Visual Studio projects: The old legacy analyzers (not available f ...
Using Visual Studio Community 2022, version 17.4.4. I just created a WPF (.NET Framework) solution using the built in VS template. To this solution, ...
I am using Visual Studio 2022. My current project has code analyzer (with a .editorconfig file). Whenever I create a new file in this project, a heade ...
In Visual studio 2022, can you setup a solution wide .editorconfig file and and then project specific .editorconfig files that override or add to the ...
I am working on a project that is transitioning to a new coding style. The rule being applied is that old files should stay with the old conventions, ...
Say I have the following folder structure: There's stylecop.json present for all the solutions. But there's no .editorconfig file and the SA rul ...
Is there any option on editor config to format attributes like in "Example1" instead of "Example2"? The example below is C#. ...
I need to setup a common code styling pattern which team needs to follow and will give warning or error to the developer while writing/compiling the c ...
I have a large C# solution for our actively worked on but old application. We have lots of files that have been around for years and lots of new files ...
I have attempted to add this rule to my editorconfig file in hopes that visual studio users without resharper will address issues they're causing by i ...
I'd like to apply all formatting VS can apply to C# files (anything listed under Tools->Options->Text Editor->C#->Code Style, stored in a ...
I see a lot of questions about how to allow it but I would like to prevent it. What settings would I put into my .editorconfig file to make all field ...
I am trying to set C# style rule in .editorconfig file in Visual Studio 2022, so it will always generate the code style that I would use in my project ...
I have many code styles specified in my .editorconfig file for my C# projects. I would find really useful if all of my classes could be sealed by defa ...
In C#, I can express a parameter is nullable in a method's signature like: Similarly, I can express a parameter must not be null like: Does any ...
When I cut & paste the following C# text in VS 2022: it pastes it formatted as: What .editorconfig rule needs to be adjusted to tell VS that ...
I have a .editorconfig file, and i'm using it for format check during build. I have specified end_of_line in the .editorconfig file. The problem is w ...
I am trying to use editorconfig + ReSharper/cleanupcode.exe to format my C# code (using this cool precommit hook) The problem I am having is that cle ...
When formatting and auto fixing "linting" errors in C# files in VSCode it seems to discard my unused variables. Basically it puts _ = in front of ever ...