Vscode-spell-checker: Can dictionaries be amended?

Created on 15 Jul 2018  路  3Comments  路  Source: streetsidesoftware/vscode-spell-checker

It is possible to create global user-defined words with:

 // User words to add to dictionary.  Should only be in the user settings.
    "cSpell.userWords": [],

But what if I want to amend a certain dictionary, e.g. the latex dictionary? Possible?

enhancement

Most helpful comment

It is possible to get the same effect:

    "cSpell.languageSettings": [
        {
            // Specify the language
            "languageId": "latex",
            // Add your words here
            "words": [
                "myownword"
             ]
        }
    ]

All 3 comments

It is possible to get the same effect:

    "cSpell.languageSettings": [
        {
            // Specify the language
            "languageId": "latex",
            // Add your words here
            "words": [
                "myownword"
             ]
        }
    ]

Ah good. Although in practice one always uses ctlr+. to add words to the dictionary. It would be very tedious to have to add them manually in settings every time. I know it may be a tall order, but what if language dictionaries could be added to the IntelliSense context menu? I.e. pressing ctrl+. on a word with a warning would give:

...
Add: "" to latex directory
Add: "" to dictionary
Add: "" to folder directory
Add: "" to workspace directory
  • if the code block you quoted in your last post is present in settings? Similarly for other languages.

Related to: #323

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  6Comments

gandalfsaxe picture gandalfsaxe  路  5Comments

floatingpurr picture floatingpurr  路  5Comments

honghui-qiao picture honghui-qiao  路  3Comments

mgroves picture mgroves  路  5Comments