JetBrains Rider 2020.1 Help

Code Inspections in Razor

In Razor, JetBrains Rider 2020.1 provides two kinds of code inspections: 6 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 Razor inspections are listed below, grouped by their categories.

Potential Code Quality Issues (2 inspections)

This category includes inspections that detect critical issues (code smells), mostly with Error or Warning level. This category also includes inspections that ensure localization assistance.
InspectionIDEditorConfig propertyDefault severity
Unknown Razor layoutRazor.LayoutNotResolvedresharper_razor_layout_not_resolved_highlightingError
Unknown Razor sectionRazor.SectionNotResolvedresharper_razor_section_not_resolved_highlightingError

Spelling issues (5 inspections)

These inspections detect typos in various contexts.
InspectionIDEditorConfig propertyDefault severity
Typo in commentCommentTyporesharper_comment_typo_highlightingSuggestion
Typo in identifierIdentifierTyporesharper_identifier_typo_highlightingSuggestion
Typo in markup attribute valueMarkupAttributeTyporesharper_markup_attribute_typo_highlightingSuggestion
Typo in markup textMarkupTextTyporesharper_markup_text_typo_highlightingSuggestion
Typo in string literalStringLiteralTyporesharper_string_literal_typo_highlightingSuggestion
Last modified: 22 July 2020