Skip to content

Command to switch spellcheck language for (human) languages on the fly? #2422

Answered by Jason3S
ttasovac asked this question in Q&A
Discussion options

You must be logged in to vote

@ttasovac,

A command like that doesn't currently exist for the spell checker. It is a possible enhancement.

Keybinding to Settings: cSpell.language

You could try using this keybinding:

keybindings.json

    {
        "key": "ctrl+alt+cmd+s",
        "command": "workbench.action.openSettings",
        "args": { "query": "cSpell.language" }
    }

CSpell Language Extensions

Each language extension comes with its own command to enable/disable the locale.

It is possible to add keybindings for them:

Using Overrides

cSpell.overrides provides a way to use the file path as a way to select the locale.

    "cSpell.overrides": [
        {
            "filename": "**/i18n/ru/**",
            "langu…

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ttasovac
Comment options

You must be logged in to vote
1 reply
@Jason3S
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Jason3S
Comment options

@ttasovac
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants