I tried all of the above to no avail, spell check doesn't handle English words and can only be solved using the add to custom dictionary method. This should be a bug.
Visual Studio 2022 Spell Checker Only local language
Hello, I have lock the spell checker to check on only in the language of my windows (French). This is a problem for me because all English words are reported as misspelled.
How to re-add English as a valid language for the spell checker?
I would like to note that: I have not touched any option and that I have not found any documentation corresponding to a possibility of changing the language check (expete for .EditorConfig)
2 additional answers
Sort by: Most helpful
-
Tianyu Sun-MSFT 32,141 Reputation points Microsoft Vendor
2023-05-15T08:56:27.8633333+00:00 Hello @Valentin THOMAS ,
Welcome to Microsoft Q&A forum.
Spell Checker is a new feature in Visual Studio 2022(from 17.5 preview 3). Since C#, C++ and Markdown all use English as the language for their keywords, Visual Studio will always use the "English (United States)" or "en-us" dictionary for spell checking. Visual Studio will also ask the instance of Windows for the display language it’s using, and if it’s not "en-us", it will use that dictionary as well. It is by-design currently.
Spell Checker uses editorconfig for configuration, if you want to re-add English, you need to use a
.EditorConfig
file and set following:spelling_languages=en-us,fr-fr
Besides, if it worked before then resetting VS(run
devenv /ResetSettings
inDeveloper Command Prompt for Visual Studio 2022
) may also work, see this document: /ResetSettings.Related blogs: Visual Studio Spell Checker Preview Now Available, Improving the Spell Checker.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
-
Valentin THOMAS 20 Reputation points
2023-09-27T22:58:28.2933333+00:00 To fix it install or install basic typing functionality. To do it go in :
Start > Settings > Time & language > Language & region. > English (United State)After add a custom dictionary.