From 8b534383199fae41fcfb4965ff86fe73e2910eab Mon Sep 17 00:00:00 2001 From: gness1804 Date: Mon, 5 Sep 2016 20:52:09 -0600 Subject: [PATCH 1/3] [ci skip] Initial commit; adds more clarification to readme --- README.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ea554138..948d5205 100644 --- a/README.md +++ b/README.md @@ -7,15 +7,23 @@ Use cmd-shift-: to bring up the list of corrections when your cursor By default spell check is enabled for the following files: -* Plain Text -* GitHub Markdown +* Plain Text (*.txt) +* GitHub Markdown (*.md) * Git Commit Message * AsciiDoc -You can override this from the _Spell Check_ settings in the Settings View (cmd-,). The Grammars config option is a list of scopes for which the package will check for spelling errors. +How to add new file types: -To enable _Spell Check_ for your current file type: put your cursor in the file, open the [Command Palette](https://github.com/atom/command-palette) -(cmd-shift-p), and run the `Editor: 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`. +* Open Atom Preferences (cmd-,) +* Find the "spell-check" package in "Packages" +* Click on "Settings" to open this package's settings +* Find the "Grammars" box under the Settings header (you may need to scroll up or down) +* Add the language scope for the language you want to add (i.e. HTML, JavaScript) according to the directions below. + +How to find the scope for your desired language: + +Put your cursor in the file, open the [Command Palette](https://github.com/atom/command-palette) +(cmd-shift-p), and run the `Editor: 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 (the Grammmars box noted above) in the settings for the _Spell Check_ package. Here are some examples: `source.coffee`, `text.plain`, `text.html.basic`. ## Changing the dictionary From 441b55100c336d5480e6c23111d1479d2ec6847d Mon Sep 17 00:00:00 2001 From: gness1804 Date: Mon, 5 Sep 2016 21:07:59 -0600 Subject: [PATCH 2/3] [ci skip] Minor change to readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 948d5205..26b13b23 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ How to add new file types: How to find the scope for your desired language: -Put your cursor in the file, open the [Command Palette](https://github.com/atom/command-palette) +Put your cursor in a file in this language format, open the [Command Palette](https://github.com/atom/command-palette) (cmd-shift-p), and run the `Editor: 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 (the Grammmars box noted above) in the settings for the _Spell Check_ package. Here are some examples: `source.coffee`, `text.plain`, `text.html.basic`. ## Changing the dictionary From 632824e22a8d774dc755b5165d0dc08c6be94953 Mon Sep 17 00:00:00 2001 From: gness1804 Date: Mon, 5 Sep 2016 22:01:26 -0600 Subject: [PATCH 3/3] [ci skip] Adds instructions on how to delete a language scope --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 26b13b23..cc166379 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ How to find the scope for your desired language: Put your cursor in a file in this language format, open the [Command Palette](https://github.com/atom/command-palette) (cmd-shift-p), and run the `Editor: 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 (the Grammmars box noted above) in the settings for the _Spell Check_ package. Here are some examples: `source.coffee`, `text.plain`, `text.html.basic`. +(To delete file types, simply delete the scope in the Grammars box.) + ## Changing the dictionary To change the language of the dictionary, set the "Locales" configuration option to the IEFT tag (en-US, fr-FR, etc). More than one language can be used, simply separate them by commas.