-
Hi, I love this VSCode extension, been using it for 3+ years now. My only problem is the large list of custom words that have accumulated under the Now, I know that there is an option to create a local custom dictionary on disk - I did read the How to add your own Dictionaries settings. But I would like to know if it would be possible to load the dictionary from a remote source, such as a GitHub Gist? I would prefer not to have to remember to transfer my custom dictionary when I switch to a new laptop. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi @PaulRBerg—great idea! My temporary workaround is to rely on: https://github.com/streetsidesoftware/vscode-spell-checker?tab=readme-ov-file#define-the-dictionary and store the custom dictionaries in my dotfiles. Since I take these with me all over the place anyway it's almost as convenient as your idea. Bonus: I can add new terms directly from any of my projects in any of the custom dictionaries—which I don't know how you'd achieve with a gist(?) |
Beta Was this translation helpful? Give feedback.
-
Support for remote configuration was added in CSpell 8 and the v4 of this extension. See: CSpell Gist Based Config. As @pcuci points out, the extension cannot support adding words to the remote word list. |
Beta Was this translation helpful? Give feedback.
-
Gist Based CSpell ConfigThis is an example of a CSpell configuration stored in a gist. There are two opitons:
Using just a dictionary file from Gist
Using the configuration from Gist
import:
- https://gist.githubusercontent.com/Jason3S/6a88fd2993f4139a567787f4e5e19f40/raw/cspell.config.yaml |
Beta Was this translation helpful? Give feedback.
Gist Based CSpell Config
This is an example of a CSpell configuration stored in a gist.
There are two opitons:
Using just a dictionary file from Gist
dictionaryDefinitions
of the CSpell Config.cspell.cofnig.yaml
Using the configuration from Gist
import
section of the cspell co…