<commit_before># Spelling Checker for Visual Studio Code

A basic spell checker that works well with camelCase code.

The goal of this spell checker is to help catch common spelling errors while keeping the number of false positives low.

## Functionality

Load a TypeScript, JavaScript, Text, etc. file.  Words not in the dictionary files will have
a squiggly underline.

### Example
![Example](https://raw.githubusercontent.com/Jason-Rev/vscode-spell-checker/master/packages/client/images/example.gif)

## Suggestions
![Example](https://raw.githubusercontent.com/Jason-Rev/vscode-spell-checker/master/packages/client/images/suggestions.gif)

To see the list of suggestions:

After positioning the cursor in the word, any of the following should display the list of suggestions:
- Click on the 💡 (lightbulb) in the left hand margin.
- [`Quick Fix`](https://code.visualstudio.com/docs/getstarted/keybindings#_rich-languages-editing) Editor action command:
    - Mac: `⌘`+`.` or `Cmd`+`.`
    - PC: `Ctrl`+`.`


## Install

Open up VS Code and hit `F1` and type `ext` select install and type `code-spell-checker` hit enter and reload window to enable.

## Supported Languages

* English (US)
* English (GB) - turn on by changing `"cSpell.language": "en"` to `"cSpell.language": "en-GB"`

## Add-On Dictionaries
* [Dutch](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-dutch)
* [Catalan](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-catalan)
* [Czech](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-czech)
* [French](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-french)
* [German](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-german)
* [Russian](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-russian)
* [Spanish](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-spanish)
* [Swedish](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-swedish)
* [Medical Terms](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-medical-terms)

## Enabled File Types

* TypeScript
* JavaScript
* JSON
* Text
* Markdown
* Handlebars
* LaTex
* C, C++
* C#
* Go
* PHP
* Python
* YAML
* AsciiDoc

### Enable / Disable File Types

To *Enable* or *Disable* spell checking for a file type:

1. Click on the Spell Checker status in the status bar:

   <img src="https://raw.githubusercontent.com/Jason-Rev/vscode-spell-checker/master/packages/client/images/StatusBarJsonDisabled.png" alt="Spell Checker Status Bar" width=200>

2. On the Info screen, click the ***Enable*** link.

   <img src="https://raw.githubusercontent.com/Jason-Rev/vscode-spell-checker/master/packages/client/images/CSpellInfoJsonDisabled.png" alt="Spell Checker Information Window" width=500>


## How it works with camelCase
<commit_msg>Add rst to the list of enabled file types<commit_after># Spelling Checker for Visual Studio Code

A basic spell checker that works well with camelCase code.

The goal of this spell checker is to help catch common spelling errors while keeping the number of false positives low.

## Functionality

Load a TypeScript, JavaScript, Text, etc. file.  Words not in the dictionary files will have
a squiggly underline.

### Example
![Example](https://raw.githubusercontent.com/Jason-Rev/vscode-spell-checker/master/packages/client/images/example.gif)

## Suggestions
![Example](https://raw.githubusercontent.com/Jason-Rev/vscode-spell-checker/master/packages/client/images/suggestions.gif)

To see the list of suggestions:

After positioning the cursor in the word, any of the following should display the list of suggestions:
- Click on the 💡 (lightbulb) in the left hand margin.
- [`Quick Fix`](https://code.visualstudio.com/docs/getstarted/keybindings#_rich-languages-editing) Editor action command:
    - Mac: `⌘`+`.` or `Cmd`+`.`
    - PC: `Ctrl`+`.`


## Install

Open up VS Code and hit `F1` and type `ext` select install and type `code-spell-checker` hit enter and reload window to enable.

## Supported Languages

* English (US)
* English (GB) - turn on by changing `"cSpell.language": "en"` to `"cSpell.language": "en-GB"`

## Add-On Dictionaries
* [Dutch](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-dutch)
* [Catalan](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-catalan)
* [Czech](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-czech)
* [French](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-french)
* [German](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-german)
* [Russian](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-russian)
* [Spanish](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-spanish)
* [Swedish](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-swedish)
* [Medical Terms](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-medical-terms)

## Enabled File Types

* TypeScript
* JavaScript
* JSON
* Text
* Markdown
* Handlebars
* LaTex
* C, C++
* C#
* Go
* PHP
* Python
* YAML
* AsciiDoc
* reStructuredText

### Enable / Disable File Types

To *Enable* or *Disable* spell checking for a file type:

1. Click on the Spell Checker status in the status bar:

   <img src="https://raw.githubusercontent.com/Jason-Rev/vscode-spell-checker/master/packages/client/images/StatusBarJsonDisabled.png" alt="Spell Checker Status Bar" width=200>

2. On the Info screen, click the ***Enable*** link.

   <img src="https://raw.githubusercontent.com/Jason-Rev/vscode-spell-checker/master/packages/client/images/CSpellInfoJsonDisabled.png" alt="Spell Checker Information Window" width=500>


## How it works with camelCase

{'fraction_non_alphanumeric': 0.12857836001940806, 'fraction_numerical': 0.002911208151382824, 'mean_word_length': 5.355601233299075, 'pattern_counts': {'":': 4, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 28, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6115640', 'n_tokens_mistral': 2068, 'n_tokens_neox': 2017, 'n_words': 461}