I am trying to add .tex file in the Setting->Grammar of atom/spell-check so that it will check spellings in my document because .tex file is going to be a PDF document, but its not working.
If you want to spell-check your document, you can use the command-line aspell, hunspell (preferably), or ispell programs. All three understand LaTeX and will skip LaTeX commands. You can also use a LaTeX editor with built-in spell checking, such as LyX, Kile, or Emacs.
Installing Atom-LaTeX is simple. You can find it in the atom.io package registry, or simply run apm install atom-latex from the command line.
Disable the spell-check pluginGo to Settings > Packages > Spell Check. Click the Disable button.
Texworks windows config to add spell check. File>Edit>Preferences>Editor>Spell-check language.
Found out that I was using wrong syntax. Correct scope is text.tex.latex
. It was already mentioned in the README file on how to get it. Follow below procedure in Atom Editor.
To enable Spell Check for your current file type: put your cursor in the file, open the Command Palette (
cmd-shift-p
), and run theEditor: 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.
It should pop up as below
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With