ReSharper Help

Code Style Assistance in HTML

Some of ReSharper's code style assistance features (Code Formatting Rules, Code Cleanup) are also supported in HTML. You can find the detailed information on these features in the corresponding topics of the Code Style Assistance section.

Besides, ReSharper provides a language-specific feature of normalizing quotes for attribute values.

Normalizing quotes around attribute values

HTML specification allows you to use both dingle (') and double (") quotes for attribute values. It is a good idea to stick to the same quote style within your project or solution. To do so, you can configure your preference on the Code Editing | HTML | Code Style page of ReSharper options. To enforce this preference in the existing codebase, run code cleanup with the 'Full cleanup' default profile or with a custom profile where the corresponding option selected.

See Also

Last modified: 21 September 2015