ReSharper 2022.2 Help

Naming Style

ReSharper options: Code Editing | Visual Basic | Naming Style

This page of ReSharper options defines symbol naming rules for Visual Basic.

ReSharper helps you define, control, and apply naming style for symbols in your code. Naming style is implemented as a set of rules, each of which targets specific identifiers with the set of constraints . Each rule can have one or more associated styles that define suffixes, prefixes, capitalization of compound words, and so on.

These rules are taken into account when ReSharper produces new code with code completion and code generation features, applies code templates and performs refactorings. ReSharper also helps you detect and fix violations of naming rules. If necessary, the automatic checkup of naming rules can be configured or disabled.

Enable 'Inconsistent Naming' inspection

This checkbox toggles the Inconsistent Naming inspection in C#, VB.NET, JavaScript, TypeScript and XAML.

Edit

Click this button, or double-click a list entry, to edit the selected naming rule using the Edit Rule Settings dialog. For details on editing naming rules, see modifying default naming rules.

Advanced settings

Opens the Advanced Naming Settings, where you can configure the following settings:

Custom naming rules

Allows configuring custom naming rules.

Abbreviations

Add uppercase abbreviations that ReSharper should not warn you about when they are used in symbol names. Use newlines, commas, semicolons, or spaces as delimiters.

Last modified: 02 August 2022