JetBrains Rider 2020.1 Help

Generated Code

File | Settings | Editor | Inspection Settings | Generated Code for Windows and Linux

JetBrains Rider | Preferences | Editor | Inspection Settings | Generated Code for macOS Ctrl+Alt+S the Settings/Preferences icon

On this page of JetBrains Rider settings, you can specify files and code regions containing automatically generated code. For these items, JetBrains Rider runs only those code inspections that check code for compiler errors and warnings. Some file masks and regions, which are typically used for generated code, for example *.designer.cs are included in this list by default, but you can change the default settings if necessary.

You can use the following wildcards in file masks:

  • ? to match one character

  • * to match one or more characters

  • ** to match files and folders recursively

The list of items containing generated code can also be used for disabling code style and cleanup for generated code.

Last modified: 30 June 2020