atom / spell-check

Spell check Atom package
MIT License
204 stars 121 forks source link

Not working on linux? #52

Closed TheChymera closed 9 years ago

TheChymera commented 9 years ago

So, how can I make this work on my linux machine? it is enabled, and under its "Settings" section I see a Default: ... list of grammars, but it does not highlight a single (misspelled) word.

Could you help me out?

drom commented 9 years ago

I have the same problem. Any guidance here?

CrouseMatthew commented 9 years ago

I'm Seeing this as well. Ubuntu 14.4 Atom 0.190.0 4/7/2015, 2:14:19 PM

CrouseMatthew commented 9 years ago

My problem was solved by following this. https://discuss.atom.io/t/how-to-enable-spell-checking-for-another-language/4895

opennomad commented 9 years ago

This used to work in 0.192.0. It no longer works. I tried both 0.194.0 and 0.196.0 and neither of them do the right thing for spell check. In the console for 0.196.0 i see:

Error starting spell check task Error: channel closed
  at ChildProcess.target.send (child_process.js:396:26)
  at Task.module.exports.Task.send (/usr/share/atom/resources/app.asar/src/task.js:114:27)
  at Task.module.exports.Task.start (/usr/share/atom/resources/app.asar/src/task.js:105:12)
  at SpellCheckTask.module.exports.SpellCheckTask.start (/usr/share/atom/resources/app.asar/node_modules/spell-check/lib/spell-check-task.js:31:66)
  at SpellCheckView.module.exports.SpellCheckView.updateMisspellings (/usr/share/atom/resources/app.asar/node_modules/spell-check/lib/spell-check-view.js:104:26)
  at /usr/share/atom/resources/app.asar/node_modules/spell-check/lib/spell-check-view.js:68:26
  at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at /usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1111:25
compumetrika commented 9 years ago

I'm experiencing this as well, unfortunately. Ubuntu 14.04 Atom 0.194.0 5/10/2015

Guts of my config.cson:

"*":
  "exception-reporting":
    userId: "3e9278b0-9c22-b888-cf10-1883d85f5bd4"
  welcome:
    showOnStartup: false
  editor:
    tabLength: 4
    fontFamily: "DejaVu Sans Mono"
    softWrap: true
    showInvisibles: true
    invisibles: {}
  core:
    themes: [
      "atom-dark-ui"
      "base16-tomorrow-dark-theme"
    ]
  "spell-check": {}
mhozza commented 9 years ago

same issue here Atom 0.196.0/Ubuntu 15.04, spell-check 0.56.0

meganeuker commented 9 years ago

0.192.0 was the last version that worked. 0.193.0 and each subsequent release has a non-functional spell-checker, at least on Linux, and my hunch is the asar change means hunspell can't read the wordlist.

THPubs commented 9 years ago

The latest release 199 says it have fixed the issue. But the still it does not work for me! Do we have to enable it separately?

kevinsawicki commented 9 years ago

The latest release 199 says it have fixed the issue. But the still it does not work for me! Do we have to enable it separately?

As long as the package is enabled and you are editing a file that is configured to have spell checking, you should see misspelled words highlighted.

THPubs commented 9 years ago

The package is enabled, Tried html.erb, html, and md, none worked!

jseto commented 9 years ago

It worked for me without any change. Just upgrading. Try to open a markdown file with md extension and leave grammar settings empty.

THPubs commented 9 years ago

@jseto Tried but not working :-( What's your OS? Im on Elementary Freya (Ubuntu 14.04)

jseto commented 9 years ago

@THPubs same yours

THPubs commented 9 years ago

@jseto Oh... How did you update? Complete re-install? Can it be a conflict with other plugins? Here are my packages :

atom-beautify@0.27.1
autocomplete-ruby@0.1.0
base16-syntax@1.0.1
chester-atom-syntax@0.1.1
color-picker@1.7.0
dark-flat-ui@1.1.4
file-icons@1.5.5
git-blame@0.4.3
highlight-line@0.10.2
isotope-ui@2.2.0
less-than-slash@0.6.0
linter@0.12.2
linter-htmlhint@0.0.15
linter-rubocop@0.2.3
merge-conflicts@1.3.1
minimap@4.8.0
no-caffeine-syntax@0.14.1
pigments@0.2.1
predawn-ui@0.3.8
rails-snippets@1.9.4
rails-transporter@1.2.0
ruby-block@0.3.3
seti-syntax@0.4.0
seti-ui@0.7.1
terminal-status@1.6.7
THPubs commented 9 years ago

Just discovered, it works in markdown but not in files like html,erb

lee-dohm commented 9 years ago

@THPubs You can set the grammars that you want the spell check to work in on the Settings View for the Spell Check package.

screen shot 2015-05-15 at 8 35 08 am

mnquintana commented 9 years ago

@THPubs You can set the grammars that you want the spell check to work in on the Settings View for the Spell Check package.

Yup! @THPubs spell-check is only configured for Plain Text, Markdown, and Git Commit Messages out of the box. From the spell-check Readme:

By default spell check is enabled for the following files:

  • Plain Text
  • GitHub Markdown
  • Git Commit Message
jseto commented 9 years ago

@THPubs http://www.atomtips.com/spellcheck-in-atom/

THPubs commented 9 years ago

Oh very sorry for my mistake! I enabled for html and erb but couldn't do it for rb. Any one know how?

text.html.basic, text.html, text.html.erb,source.rb

PS Linux spell checking works!