atom/spell-check

Ignore spell-check in code chunks

Closed this issue · 1 comments

tgrrr commented

Prerequisites

Description

Add option to ignore spell-check within code-blocks

Steps to Reproduce

  1. Create markdown document
  2. Add codeblock with
// code goes here

Expected behavior:

Spell-check ignores those words

Actual behavior:

Spell-check highlights words in code-block

Reproduces how often:

100%

Versions

spell-check 0.74.5
Atom : 1.38.2
Electron: 2.0.18
Chrome : 61.0.3163.100
Node : 8.9.3

apm 2.1.7
npm 6.2.0
node 8.9.3 x64
atom 1.38.2
python 3.6.4
git 2.21.0

Mac Mojave 10.14.5

Additional Information

I understand that if the language is loaded in atom (ie. language-latex), then that should allow it to be ignored. However, there should be an option to ignore this without loading other language packs.

rsese commented

Thanks for contributing!

We noticed that this looks like a duplicate of #2 so you can subscribe there for updates if you'd like.


Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.

For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.