# VSCode 拼写检查

Original: <https://lifelonglearn.ing/vscode-spell-check>

Author: [奶爸](https://lifelonglearn.ing/users/3b04650c-8231-499b-8ef0-381fc4d7efb0)

Published: 2024-09-19T02:38:04Z

Updated: 2026-09-27T06:57:43Z

Version: 1

VSCode 是没有自带的拼写检查的，这里推荐 [Code Spell Checker](https://lifelonglearn.ing/r/go?url=aHR0cHM6Ly9tYXJrZXRwbGFjZS52aXN1YWxzdHVkaW8uY29tL2l0ZW1zP2l0ZW1OYW1lPXN0cmVldHNpZGVzb2Z0d2FyZS5jb2RlLXNwZWxsLWNoZWNrZXI=) 作为拼写检查工具，避免偶尔拼写错误。

但是需要配置一下，不然在 Problems 那里会有一大堆拼写错误提示，不方便查看正常的错误信息。

在 VSCode 的 settings.json 中加入这几行，你就不会被 Problems 里面的拼写提示困扰了。

```json
"cSpell.showStatus": false, // 不要在 Problems 中展示
"cSpell.diagnosticLevel": "Hint", // 拼写提示等级
"workbench.colorCustomizations": {
    "editorHint.foreground": "#ff0000" // 拼写提示置为红色
},
```
