Skip to content

VSCode 拼写检查

VSCode 是没有自带的拼写检查的,这里推荐 Code Spell Checker 作为拼写检查工具,避免偶尔拼写错误。

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

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

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

Comments

Commenting as a guest. A nickname is required; email is optional. Only new comments posted after verifying your email and signing in will appear on your profile. Existing guest comments will not be linked automatically.

Share article

VSCode 拼写检查

Email X

View original ↗