@cspell/dict-win32
Version:
Win32 dictionary for cspell.
189 lines (123 loc) • 4.16 kB
Markdown
# CSpell Win32 Dictionary
Win32 dictionary for cspell.
This is a pre-built dictionary for use with cspell.
<!--- @@inject: ../../static/requirements.md --->
## Requirements
| Tool | Version |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------- |
| [cspell](https://github.com/streetsidesoftware/cspell) | `>= 8` |
| [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 4` |
<!--- @@inject-end: ../../static/requirements.md --->
<!--- @@inject: ./static/install.md --->
## Local Installation
```sh
npm install -D @cspell/dict-win32
```
## Configuration
<details>
<summary>VSCode Settings</summary>
Add the following to your VSCode settings:
**`.vscode/settings.json`**
```jsonc
{
"cSpell.import": ["@cspell/dict-win32/cspell-ext.json"],
"cSpell.dictionaries": ["win32"],
}
```
</details>
<details>
<summary>CSpell Settings <code>cspell.json</code></summary>
**`cspell.json`**
```jsonc
{
"import": ["@cspell/dict-win32/cspell-ext.json"],
"dictionaries": ["win32"],
}
```
</details>
<details>
<summary>CSpell Settings <code>cspell.config.yaml</code></summary>
**`cspell.config.yaml`**
```yaml
import:
- '@cspell/dict-win32/cspell-ext.json'
dictionaries:
- win32
```
</details>
## Local Installation using CDN
## CDN Configuration
<details>
<summary>VSCode Settings</summary>
Add the following to your VSCode settings:
**`.vscode/settings.json`**
```jsonc
{
"cSpell.import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-win32/cspell-ext.json"],
"cSpell.dictionaries": ["win32"],
}
```
</details>
<details>
<summary>CSpell Settings <code>cspell.json</code></summary>
**`cspell.json`**
```jsonc
{
"import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-win32/cspell-ext.json"],
"dictionaries": ["win32"],
}
```
</details>
<details>
<summary>CSpell Settings <code>cspell.config.yaml</code></summary>
**`cspell.config.yaml`**
```yaml
import:
- https://cdn.jsdelivr.net/npm/@cspell/dict-win32/cspell-ext.json
dictionaries:
- win32
```
</details>
## Dictionary Information
| Name | Enabled | Description |
| ------- | ------- | ----------------- |
| `win32` | | Win32 dictionary. |
## Language Settings
| Name | Locale | File Type |
| ------- | ------ | ---------- |
| `win32` | `*` | `c`, `cpp` |
<!--- @@inject-end: ./static/install.md --->
## Enable the Dictionary
By default the `win32` dictionary is enabled for `C` and `C++` file types. To enable it for other file types, it is necessary to add it to the `dictionaries` section of the configuration or include it as an inline CSpell directive: `cspell:dictionaries win32`.
Example: `example.md`
````markdown
Sample Code:
```cpp
// Parse the command line parameters
int argc;
LPWSTR* argv = CommandLineToArgvW(GetCommandLineW(), &argc);
pSample->ParseCommandLineArgs(argv, argc);
LocalFree(argv);
```
<!--- cspell:dictionaries win32 --->
````
<!--- @@inject: ../../static/contributing.md --->
## Contributing
Please help correct any mistakes in the dictionaries.
See: [Contributing](https://github.com/streetsidesoftware/cspell-dicts#contributing)
Special thanks to all of our amazing contributors!
### Dictionary Development
See: [How to Create a New Dictionary](https://github.com/streetsidesoftware/cspell-dicts#how-to-create-a-new-dictionary)
<!--- @@inject-end: ../../static/contributing.md --->
## License
MIT
> Some packages may have other licenses included.
<!--- @@inject: ../../static/footer.md --->
<br/>
---
<p align="center">
Brought to you by <a href="https://streetsidesoftware.com" title="Street Side Software">
<img width="16" alt="Street Side Software Logo" src="https://i.imgur.com/CyduuVY.png" /> Street Side Software
</a>
</p>
<!--- @@inject-end: ../../static/footer.md --->