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

Code inspection: Incorrect indent (tabs/spaces mismatch)

Last modified: 26 May 2024

This inspection verifies code formatting rules.

When working outside ReSharper, merging VCS conflicts or checking a source file on a foreign computer, you might use editors that have a different interpretation of tabs. This inspection helps you detect and fix such occurrences:

https://resources.jetbrains.com/help/img/dotnet/2024.2/formatter-tabs-spaces-mismatch.png
Gif