Visual Studio 2022 Spell Checker Only local language

Valentin THOMAS 20 Reputation points
2023-05-15T02:47:45.56+00:00

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)

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,617 questions
0 comments No comments
{count} votes

Accepted answer
  1. 早晨的阳光 90 Reputation points
    2023-09-13T02:26:57.81+00:00

    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.

    3 people found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Tianyu Sun-MSFT 27,356 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 in Developer 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.


  2. 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 :
    StartSettings > Time & language > Language & region. > English (United State)

    After add a custom dictionary.

    0 comments No comments