{"id":13508116,"url":"https://github.com/atom/spell-check","last_synced_at":"2025-12-18T02:41:11.290Z","repository":{"id":44926859,"uuid":"12069231","full_name":"atom/spell-check","owner":"atom","description":"Spell check Atom package","archived":true,"fork":false,"pushed_at":"2022-09-28T10:52:04.000Z","size":908,"stargazers_count":205,"open_issues_count":90,"forks_count":121,"subscribers_count":35,"default_branch":"master","last_synced_at":"2024-11-01T07:33:26.421Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-13T00:12:32.000Z","updated_at":"2024-10-28T22:53:49.000Z","dependencies_parsed_at":"2023-01-18T16:22:39.953Z","dependency_job_id":null,"html_url":"https://github.com/atom/spell-check","commit_stats":null,"previous_names":[],"tags_count":113,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fspell-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fspell-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fspell-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fspell-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atom","download_url":"https://codeload.github.com/atom/spell-check/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301963,"owners_count":20755512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T02:00:48.323Z","updated_at":"2025-12-18T02:41:06.226Z","avatar_url":"https://github.com/atom.png","language":"JavaScript","readme":"##### Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our [official announcement](https://github.blog/2022-06-08-sunsetting-atom/)\n # Spell Check package\n[![CI](https://github.com/atom/spell-check/actions/workflows/ci.yml/badge.svg)](https://github.com/atom/spell-check/actions/workflows/ci.yml)\n\nHighlights misspelling in Atom and shows possible corrections.\n\nUse \u003ckbd\u003ecmd-shift-:\u003c/kbd\u003e for Mac or \u003ckbd\u003ectrl-shift-:\u003c/kbd\u003e for Windows or Linux to bring up the list of corrections when your cursor is on a misspelled word.\n\nBy default spell check is enabled for the following files:\n\n* Plain Text\n* GitHub Markdown\n* Git Commit Message\n* AsciiDoc\n* reStructuredText\n\nYou can override this from the _Spell Check_ settings in the Settings View (\u003ckbd\u003ecmd-,\u003c/kbd\u003e). The Grammars config option is a list of scopes for which the package will check for spelling errors.\n\nTo enable _Spell Check_ for your current file type: put your cursor in the file, open the [Command Palette](https://github.com/atom/command-palette)\n(\u003ckbd\u003ecmd-shift-p\u003c/kbd\u003e for Mac or \u003ckbd\u003ectrl-shift-p\u003c/kbd\u003e for Windows or Linux), 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`.\n\n## Changing the dictionary\n\nExcept for Mac, Atom needs to know what language to use to perform spell-checking. To list these, set the \"Locales\" configuration option to the [IETF tag](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) (en-US, fr-FR, etc). More than one language can be used, simply separate them by commas.\n\nIf no locale is given, then Atom will attempt to infer the language based on environment variables and settings.\n\nIf any value is given for the \"Locales\", then Atom will not automatically add the browser language. So, if your browser is United States English (`en-US`), leaving this blank will still do US English checking. However, if it the \"Locales\" is set to French (`fr-FR`), then the checker will only check French. If the \"Locales\" is set to `en-US, fr-FR`, then both languages will be checked.\n\n### Missing Languages\n\nThis plugin uses the existing system dictionaries. If a locale is selected that is not installed, a warning will pop up when a document that would be spell-checked is loaded. To disable this, either remove the incorrect language from the \"Locales\" configuration or clear the check on \"Use Locales\" to disable it entirely.\n\nTo get the search paths used to look for a dictionary, make sure the \"Notices Mode\" is set to \"console\" or \"both\", then reload Atom. The developer's console will have the directory list.\n\n## Mac\n\nOn the Mac, checking \"Use System\" will use the operating system's spellchecking library. This uses all of the user's loaded dictionaries and doesn't require any customization within Atom.\n\nChecking \"Use Locales\" and providing locales would use Hunspell as additional dictionaries. Having \"Use Locales\" checked but no locales given will do nothing.\n\n## Windows 8 and Higher\n\nFor Windows 8 and 10, this package uses the Windows spell checker, so you must install the language using the regional settings before the language can be chosen inside Atom.\n\n![Add the language from the Language and Regions settings panel](docs/windows-10-language-settings.png)\n\nIf your Windows user does not have Administration privileges, you'll need to do an extra step once the language has been added to enable the spell checker. To do so, you need to install the \"Basic typing\" language option by following the next steps (you'll be asked for your administrator password):\n\n![Click on the \"Options\" button on the added language](docs/windows-10-language-settings-2.png)\n\n![Download the \"Basic Typing\" language option](docs/windows-10-language-settings-3.png)\n\nOnce the additional language is added, Atom will need to be restarted and configured to use it. Add the IEFT tag into the \"Locales\" setting for the language to be set.\n\nIf a Hunspell dictionary is found on a path (see below), it will be used in favor of the Windows API.\n\n## Linux\n\nFor all Linux-based operating systems, \"Use System\" does nothing. It can remained checked but has no impact. \"Use Locales\" is required for spell-checking.\n\n### Debian, Ubuntu, and Mint\n\nOn Ubuntu, installing \"Language Support\" may solve problems with the dictionaries. For other distributions (or if Language Support doesn't work), you may use `apt` to install the dictionaries.\n\n```\nsudo apt-get install hunspell-en-gb\nsudo apt-get install myspell-en-gb\n```\n\nOn RedHat, the following should work for Italian:\n\n```\nsudo dnf install hunspell\nsudo dnf install hunspell-it\n```\n\nYou can get a list of currently installed languages with:\n\n```\n/usr/bin/hunspell -D\n```\n\nAtom may require a restart to pick up newly installed dictionaries.\n\n### Arch Linux\n\nA language may be installed by running:\n\n```\npacman -S hunspell-en_GB\n```\n\nFor the time being, a soft link may be required if the dictionary provided is \"large\".\n\n```\ncd /usr/share/hunspell\nsudo ln -s en_GB-large.dic en_GB.dic\nsudo ln -s en_GB-large.aff en_GB.aff\n```\n\n## Hunspell Dictionaries\n\nFor all platforms, a Hunspell-compatible dictionary is also supported. To use this, a `.dic` and `.aff` need to be located in one of the default search directories or in a directory entered into \"Locale paths\" (multiples may be entered with commas separating them). If the appropriate files are found for the locale and \"Use Locales\" is checked, then the dictionary will be used.\n\nFor example, if the following is set, then `/usr/share/hunspell/en_US.dic` will be used:\n\n- Use Locales: checked\n- Locales: `en-US`\n- Locale Paths: `/usr/share/hunspell`\n\nIf \"Locales\" is not provided, then the user's current language will be inferred from environmental settings.\n\nIn addition to what is provided, the following paths are checked:\n\n- `/usr/share/hunspell` (Linux only)\n- `/usr/share/myspell` (Linux only)\n- `/usr/share/myspell/dicts` (Linux only)\n- `/` (Mac only)\n- `/System/Library/Spelling` (Mac only)\n- `C:\\` (Windows only)\n\nDictionaries can be downloaded from various sites (such as [wooorm's repository](https://github.com/wooorm/dictionaries) or [LibreOffice's](https://github.com/LibreOffice/dictionaries)), but the file has to be renamed `locale.dic` and `locale.aff`.\n\n*Example locations to download are not an endorsement.*\n","funding_links":[],"categories":["CoffeeScript","JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatom%2Fspell-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatom%2Fspell-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatom%2Fspell-check/lists"}