codecadwallader / codemaid

CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
http://www.codemaid.net
GNU Lesser General Public License v3.0
1.88k stars 352 forks source link

The keyword `file` will be changed to `internal`. #1023

Closed emako closed 1 month ago

emako commented 8 months ago

Environment

Description

Replace this text with a short description and code sample. image Any switch to disable this func?

Steps to recreate

  1. Replace this
  2. text with
  3. the steps
  4. to recreate

Current behavior

Explain what it's doing and why it's wrong. The keyword file will be changed to internal.

Expected behavior

Explain what it should be doing after it's fixed. Keep file keyword.

emako commented 8 months ago

Code sample:

file static class BitmapExtension
{
}
codecadwallader commented 7 months ago

Thanks for reporting the issue. There is a known issue with the VS2022 SDK that has not been resolved which is causing issues with some declarations. The recommendation is to disable the insertion of explicit access modifiers in CodeMaid's configuration to bypass the issue for now. Please see #879 for more details.