JetBrains Rider
 
Get JetBrains Rider
Get your hands on the new features ahead of the release by joining the Early Access Program for Rider 2025.1! Learn more

Validating web content files

Last modified: 08 October 2024

JetBrains Rider performs two different validity checks:

  • On-the-fly validation is available for all Web content files and is performed as you edit the file. JetBrains Rider detects various violations of syntax requirements, such as unclosed tags, wrong end-tag name, duplicate tags, unresolved links, and so on. All encountered errors are highlighted in the editor.

    However, this form of code validation is rather soft, that is, not all requirements are taken into account.

  • Full validation involves structure validation in addition to syntax check. Full validation is available for files that are associated with an XSD (XML Schema Definition) Schema or contain a Data Type Definition (DTD). JetBrains Rider checks whether the structure of your XML file complies with the structure defined in the corresponding DTD or Schema.

    The results of full validation are provided as a Message View.