dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19.08k stars 4.04k forks source link

dotnet_style_require_accessibility_modifiers missing from C# Code Style settings UI #60237

Open vsfeedback opened 2 years ago

vsfeedback commented 2 years ago

_This issue has been moved from a ticket on Developer Community._


"Text Editor -> C# -> Code Style -> General" is missing "dotnet_style_require_accessibility_modifiers" under "Modifier preferences", causing IDE0040 errors in the code file.

https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0040

This is especially annoying when working on Unity projects because they do not support . EditorConfig files.


Original Comments

Feedback Bot on 3/6/2022, 06:25 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Feedback Bot on 3/7/2022, 10:01 AM:

Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2019#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.

Feedback Bot on 3/7/2022, 11:28 PM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.


Original Solutions

(no solutions)

andrekoehler commented 2 years ago

I created this issue.