dotnet / dotnet/roslyn

.editorconfig ignore #region #endregion indent space positioning...

Open
#83,064 6 comments 0 reactions 0 assignees View on GitHub
Area-IDE Feature - Editor Config Feature Request
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

No idea if this is the right place, can't find a setting specific to being able to have

#region blah

#endregion

just aligned at the start instead of being aligned with the indentation of the code it is inserted at, obviously it would be nice if sub regions could follow a indentation based on a region being within another region but most my code I just want all this #region #endregion to ignore the formatted indentation.

is there a setting for this or way to achieve it?

side note anyone know of a decent vscode addon for visually configuring .editorconfig like rider/vs2026 have built into there ide's? really surprised no bothered to make that just works for all languages outside of an specific language editor.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.