CSpell Win32 词典
Cspell的Win32词典.
这是一个预建的词典,用于Cspell.
所需资源
| 工具 | 版本 |
|---|---|
| 点球 | >= 8 |
| 代码拼写检查器 - 视觉工作室代码 | >= 4 |
本地安装
npm install -D @cspell/dict-win32
配置
VSCode 设置
在您的 VSCode 设置中添加以下内容:
.vscode/settings.json
{
"cSpell.import": ["@cspell/dict-win32/cspell-ext.json"],
"cSpell.dictionaries": ["win32"],
}
CSpell 设置 cspell.json
cspell.json
{
"import": ["@cspell/dict-win32/cspell-ext.json"],
"dictionaries": ["win32"],
}
CSpell 设置 cspell.config.yaml
cspell.config.yaml
import:
- '@cspell/dict-win32/cspell-ext.json'
dictionaries:
- win32
使用 CDN 本地安装
CDN 配置
VSCode 设置
在您的 VSCode 设置中添加以下内容:
.vscode/settings.json
{
"cSpell.import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-win32/cspell-ext.json"],
"cSpell.dictionaries": ["win32"],
}
CSpell 设置 cspell.json
cspell.json
{
"import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-win32/cspell-ext.json"],
"dictionaries": ["win32"],
}
CSpell 设置 cspell.config.yaml
cspell.config.yaml
import:
- https://cdn.jsdelivr.net/npm/@cspell/dict-win32/cspell-ext.json
dictionaries:
- win32
词典信息
| 名称 | 已启用 | 说明 |
|---|---|---|
win32 | 温32字典. |
语言设置
| 名称 | 语言 | 文件类型 |
|---|---|---|
win32 | * | c, (中文(简体) ), cpp |
启用词典
默认情况下 win32 启用词典用于 C 财务报告和审定财务报表 C++ 文件类型。 要使其适用于其他文件类型,必须将其添加到 dictionaries 配置部分或将其作为内置的 CSpell 指令: cspell:dictionaries win32。 。 。 .
示例 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 --->
捐款
请帮助纠正字典中的错误 .
见: 捐款
特别感谢我们所有出色的贡献者!
词典发展
见: 如何创建新词典
许可证
麻省理工学院
有些包裹可能还有其他许可证.
带给你的
街边软件