CSpell Win32 Dictionary
Win32 dictionary for cspell.
This is a pre-built dictionary for use with cspell.
Requirements
| Tool | Version |
|---|---|
| cspell | >= 8 |
| Code Spell Checker - Visual Studio Code | >= 4 |
Local Installation
npm install -D @cspell/dict-win32
Configuration
VSCode Settings
Add the following to your VSCode settings:
.vscode/settings.json
{
"cSpell.import": ["@cspell/dict-win32/cspell-ext.json"],
"cSpell.dictionaries": ["win32"],
}
CSpell Settings cspell.json
cspell.json
{
"import": ["@cspell/dict-win32/cspell-ext.json"],
"dictionaries": ["win32"],
}
CSpell Settings cspell.config.yaml
cspell.config.yaml
import:
- '@cspell/dict-win32/cspell-ext.json'
dictionaries:
- win32
Local Installation using CDN
CDN Configuration
VSCode Settings
Add the following to your VSCode settings:
.vscode/settings.json
{
"cSpell.import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-win32/cspell-ext.json"],
"cSpell.dictionaries": ["win32"],
}
CSpell Settings cspell.json
cspell.json
{
"import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-win32/cspell-ext.json"],
"dictionaries": ["win32"],
}
CSpell Settings cspell.config.yaml
cspell.config.yaml
import:
- https://cdn.jsdelivr.net/npm/@cspell/dict-win32/cspell-ext.json
dictionaries:
- win32
Dictionary Information
| Name | Enabled | Description |
|---|---|---|
win32 |
Win32 dictionary. |
Language Settings
| Name | Locale | File Type |
|---|---|---|
win32 |
* |
c, cpp |
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
Sample Code:
```cpp
// Parse the command line parameters
int argc;
LPWSTR* argv = CommandLineToArgvW(GetCommandLineW(), &argc);
pSample->ParseCommandLineArgs(argv, argc);
LocalFree(argv);
```
<!--- cspell:dictionaries win32 --->
Contributing
Please help correct any mistakes in the dictionaries.
See: Contributing
Special thanks to all of our amazing contributors!
Dictionary Development
See: How to Create a New Dictionary
License
MIT
Some packages may have other licenses included.
Brought to you by
Street Side Software