ReSharper 2024.1 Help

Code Inspections in XML

In XML, ReSharper 2024.1 provides two kinds of code inspections: 13 inspections that detect errors such as broken syntax, unresolved symbols, compiler errors, and so on (you cannot configure or disable any of these inspections), and 7 proprietary code inspections, any of which you can disable or change its severity level.
These code inspections help you detect code issues in design time in all open files, and additionally they allow you to find code issues in specific scope.

Configurable XML inspections are listed below, grouped by their categories.

Grammar Issues (4 inspections)

Inspections in this category report grammar issues in string literals and documentation comments.

Inspection


ID


EditorConfig property



Default severity

Grammar error in comment


GrammarMistakeInComment


resharper_grammar_mistake_in_comment_highlighting



Suggestion

Grammar error in markup attribute value


GrammarMistakeInMarkupAttribute


resharper_grammar_mistake_in_markup_attribute_highlighting



Suggestion

Grammar error in markup text


GrammarMistakeInMarkupText


resharper_grammar_mistake_in_markup_text_highlighting



Suggestion

Grammar error in string literal


GrammarMistakeInStringLiteral


resharper_grammar_mistake_in_string_literal_highlighting



Disabled

Spelling Issues (3 inspections)

These inspections detect typos in various contexts.

Inspection


ID


EditorConfig property



Default severity

Typo in comment


CommentTypo


resharper_comment_typo_highlighting



Suggestion

Typo in markup attribute value


MarkupAttributeTypo


resharper_markup_attribute_typo_highlighting



Suggestion

Typo in markup text


MarkupTextTypo


resharper_markup_text_typo_highlighting



Suggestion

Last modified: 11 April 2024