Microsoft has recently released the third preview of Visual Studio 2022 17.5, and one of the notable additions is the spell checker, which is now enabled for C#, C++ and Markdown files. The spell checker is enabled by default, and can be disabled at any time under Edit > Advanced > Toggle Text Spell Checker.
Similar to the spell checker in other programs, Visual Studio will highlight any suspicious errors and display a context menu as the user resolves them, or you can use Alt+Enter to bring up the menu. From the menu, the user can use the word replacement types from the various dictionaries that have been enabled, ignore suggestions or disable the spell checker.
If the user is editing a C++ or C# document and accepts a spelling change for an identifier, the tool will also perform a refactoring of the code to update all other instances of the identifier so that the code is written without throwing any errors the next time it tries to compile. When ignoring suggestions is selected, Visual Studio will create the exclusion.dic file in the AppData directory and add the word, and then Visual Studio will continue to ignore the word in all Visual Studio instances so the spell checker does not become annoying.