ReSharper 2024.3 Help

Code style and cleanup

ReSharper provides a lot of features for keeping your code neat and clean. Being tightly interwoven with the majority of other ReSharper's features, they help you produce code and change existing codebases according to the specific code style. The code style, which includes naming standards, formatting rules, file layout, file header style, and many other tiny aspects (such as order of modifiers or whether to use var keyword) can be configured to a very detailed level and shared across your team.

ReSharper uses different approaches to deal with different aspects of the code style. For instance:

You can refer to specific topics in this section to learn how exactly ReSharper deals with the corresponding code style aspects.

Most of ReSharper's code style features are available in C# and Visual Basic, some are available in several languages, others are language-specific. The table below lists all code style features and languages/technologies where they are supported.

The instructions and examples given in the topics within this section address the use of code style features in C#. For more information about code style features available for specific languages, refer to the corresponding topics in the ReSharper by language section.

Last modified: 11 February 2024