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

Omit braces unless requested by user #3

Open
sharwell opened this issue Nov 17, 2014 · 2 comments
Open

Omit braces unless requested by user #3

sharwell opened this issue Nov 17, 2014 · 2 comments

Comments

@sharwell
Copy link
Member

It'd be nice if curly braces were omitted from the code fix output any time SA1503 is not enabled in the same project. At this time I do not know of a way to detect if an analyzer for that is included and enabled.

@tugberkugurlu
Copy link
Contributor

Yes, I was thinking the same thing but I'm really not sure how to detect user's preferred style.

@sharwell
Copy link
Member Author

There is no setting for the preferred style within the IDE. However, if another analyzer is enabled for the project which reports SA1503 (link above) as a warning or higher, you can assume the user wishes to include braces in the output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants