Highlights misspelling in Atom and shows possible corrections.
Use cmd-shift-: to bring up the list of corrections when your cursor is on a misspelled word.
By default spell check is enabled for the following files:
- Plain Text
- GitHub Markdown
- Git Commit Message
- AsciiDoc
- reStructuredText
You can override this from the Spell Check settings in the Settings View (cmd-,). The Grammars config option is a list of scopes for which the package will check for spelling errors.
To enable Spell Check for your current file type: put your cursor in the file, open the Command Palette
(cmd-shift-p), and run the Editor: Log Cursor Scope
command. This will trigger a notification which will contain a list of scopes. The first scope that's listed is the one you should add to the list of scopes in the settings for the Spell Check package. Here are some examples: source.coffee
, text.plain
, text.html.basic
.
To change the language of the dictionary, set the "Locales" configuration option to the IETF tag (en-US, fr-FR, etc). More than one language can be used, simply separate them by commas.
For Windows 8 and 10, this package uses the Windows spell checker, so you must install the language using the regional settings before the language can be chosen inside Atom. Otherwise you can set the SPELLCHECKER_PREFER_HUNSPELL
environment variable to request the use of the built-in hunspell spell checking library.
Spell Check allows for plugins to provide additional spell checking functionality. See the PLUGINS.md
file in the repository on how to write a plugin.