Spell Checking
Ver
:
Sublime Text uses Hunspell for its spell checking support. Additional dictionaries can be obtained from the OpenOffice.org Extension List.
Dictionaries in a format ready to be used by Sublime Text are available at https://github.com/titoBouzout/Dictionaries.
Dictionariesπ
Sublime Text currently only supports UTF-8 encoded dictionaries. Most dictionaries are not encoded in UTF-8, instead using a more compact encoding for the language in question. To use a dictionary with Sublime Text, itβll first need to be converted into UTF-8.
Once you have a UTF-8 encoded dictionary, it can be installed by placing it in a package, for example, Packages/User/, which you can access from the menu item. Once the file is in place, you can select the dictionary from the menu.
Settingsπ
There are two Settings that effect the spell checking: spell_check
,
which controls if spell checking is enabled, and dictionary
, which gives
the path to the dictionary file to use. For example:
- "spell_check" booleanπ
If spell checking is enabled.
Default:
false
- "dictionary" stringπ
The package-relative path to the dictionary file.
Default:
"Packages/Language - English/en_US.dic"
- "added_words" array of stringsπ
An array of properly spelled words to augment the dictionary with.
Example:
["unobscurable"]
- "ignored_words" array of stringsπ
An array of words to ignore when checking spelling.
Example:
["revelationary"]
Commandsπ
next_misspelling
: Select the next misspellingprev_misspelling
: Select the previous misspellingadd_word
: Adds the word given by theword
argument to the add listignore_word
: Adds the word given by theword
argument to the ignore list