ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

Spellchecking with ReSpeller

Last modified: 21 July 2022

One important task of code inspection is spell checking, which ReSharper performs with ReSpeller — its integrated spell-checking engine. ReSpeller will look for spelling mistakes in identifiers, comments, and string literals. When it detects a potential spelling mistake or a typo, it will let you know in the same way as other code issues — in design time or when you run code inspection in specific scope.

Spell checking is enabled by default, but you can disable it by clearing the corresponding checkbox on the Tools | ReSpeller page of ReSharper options (Alt+R, O).

Similarly to other highlighted issues, you can press Alt+Enter and choose Replace with… to choose one of the ReSpeller's suggestions.

ReSharper: Detecting and fixing typos

If you use the ReSpeller's quick-fix to fix a typo in an identifier, the Rename refactoring will be invoked automatically to ensure consistency of the change across your code base.

This feature is supported in the following languages and technologies:

The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see corresponding topics in the ReSharper by language section.