Skip to content

A multilingual grammar checker that dynamically highlights mistakes and proposes a correction

License

Notifications You must be signed in to change notification settings

sirenard/atom-grammar-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atom-grammar-check

This atom plugin highlights the syntax and spell mistakes in your editor.

Small illustration

Features:

  • Highlight mistakes
  • Suggest replacing text
  • Highlight only text in specific scopes (see here)
  • By default, highlight correctly latex files and comments in other languages

LaTeX

It's advised to separate different blocks (paragraph, section, ...) with new lines to reduce the number of mistakes not highlighted.

Correcter modules

There is 2 modules implemented:

  1. ginger that work online (using gingerbread library)
  2. languagetool that can work online and offline and support more than 20 languages. Due to the big amount of requests, it's recommended to have a local server.

Languagetool support

If you use a local languagetool server (see here to install your own), you can give in option a command line that will be executed when the package is activated to try to start the server.

You can add in package option Language Tool Stop Server Command a command that shut down the server when the package is disabled.

Scopes

In the parameters, there are 2 fields (Excluded Scopes and Included Scopes)for the scopes' management. Both are list of atom scopes and will be use as regex. To be highlighted, a text must be matched by at least one regex in the Included Scopes list and none of the Excluded Scopes list.

By default, the package is configured to highlight correctly latex files and comments in other languages.

ToDO:

  • Optimization?
  • On/Off toggle

About

A multilingual grammar checker that dynamically highlights mistakes and proposes a correction

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published