Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to suppress formatting #795

Open
JoeRobich opened this issue Sep 1, 2020 · 1 comment
Open

Document how to suppress formatting #795

JoeRobich opened this issue Sep 1, 2020 · 1 comment
Labels
Documentation Help Wanted This issue is up for grabs by the community

Comments

@JoeRobich
Copy link
Member

JoeRobich commented Sep 1, 2020

Document how to suppress whitespace formatting for a block of code using

SomeClass.cs

#pragma warning disable format

...

#pragma warning restore format

as well as, how to suppress all formatting for a file or folder by marking it as generated code using

.editorconfig

[SomeFileOrFolder]
generated_code = true
@JoeRobich JoeRobich added Help Wanted This issue is up for grabs by the community Documentation labels Sep 1, 2020
@JoeRobich JoeRobich changed the title Document how to supress formatting Document how to suppress formatting Sep 1, 2020
@lindexi
Copy link

lindexi commented Dec 3, 2021

@JoeRobich See #780

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Help Wanted This issue is up for grabs by the community
Projects
None yet
Development

No branches or pull requests

2 participants