48

I would like to turn off spell checking in Atom in one file. I cannot find any shortcut or option for that.

When I open a file with some non-programming stuff I get a red flood from the spell checker.

Text with many words underlined as typos.

  • I've updated the answer. Now it covers most of the things you might want to do with the spell-check plugin: superuser.com/a/1003636/442991 – Mateusz Piotrowski Apr 14 '16 at 13:32
  • Ctrl + Shift + P, type "spell", select the option "Spell Check: Toggle". Unfortunately Atom doesn't remember this an after reopening Atom or even after saving the file, it's enabled again... – Jesper Jul 17 '17 at 12:32
49

For temporary solution or for someone like me permanent solution:

  1. go to "File / Settings / Packages"
  2. search "spell-check"
  3. click to button "Disable"
  • 1
    As of today, Atom spell check is still buggy and doesn't save between sessions. Disabling the package does work. – DPM Jul 16 '17 at 11:29
23

Disable the spell-check plugin

  1. Go to Settings > Packages > Spell Check.
  2. Click the Disable button. Disable

Toggle spell check for the current file

  1. Open up the Command Pallette (++p).
  2. Type in Spell Check: Toggle.
  3. Hit enter.

Create a shortcut to toggle spell checking

  1. Go to Atom > Keymap...
  2. Add those lines at the bottom of the keymap.cson file:

    'atom-text-editor':
      'cmd-alt-s': 'spell-check:toggle'
    
  3. Restart Atom.

Disable spell check for certain file types

There is a default list of scopes which triggers spell checking. You have to define your own list if you want to modify it.

  1. Go to Settings > Packages > Spell Check.
  2. Enter your modified list of scopes into the Settings > Grammars. Spell Check package settings

How to define my own list of scopes?

The default list of scopes includes: source.asciidoc, source.gfm, text.git-commit, text.plain, text.plain.null-grammar

If you don't know which scope applies to your currently opened file:

  1. Open up the Command Pallette (++p).
  2. Type in Editor: Log Cursor Scope.
  3. Hit enter.

  4. A notification like this should pop up: notification

  5. The first item on the list is the scope which applies to your file.


Further reading

You can read more on the GitHub page of this package: https://github.com/atom/spell-check#spell-check-package.

  • brilliant answer – Greg Flynn Jan 27 '17 at 2:05
6

I would like to turn off spell checking in Atom in one file

There is a feature request (Add feature: toggle on/off) for this:

I added the feature 'Toggle' to the 'Packages -> Spell Check' menu.

Update 08/01/2016:

All checks have passed

1 successful check

This branch has no conflicts with the base branch

Only those with write access to this repository can merge pull requests.

1

I tried to open a very large non-English file, and the spell checker caused Atom to completely freeze. Worse, even after I kill Atom and try to relaunch it, it tries to open the same file immediately. This is quite some absurd piece of software engineering.

Eventually I had to run apm disable spell-check in the command line. This is the solution when you can't even launch Atom.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.