我使用 VS Code 的代码拼写检查器。我想在出现“更严重”问题的“问题”面板(标准键盘绑定(bind) Ctrl+Shift+M)中禁用拼写检查器警告/错误。
通常有很多拼写检查错误,我不得不向下滚动到“真正的”问题:-)
最佳答案
见 issues: don't show in Problems pane .建议尝试:
"cSpell.diagnosticLevel": "Hint",
在您的 settings.json 中。这会将它们从问题 Pane 中删除。但是,在您的文件中,这些“提示”现在由拼写错误开头下方的三个小点表示,并且并不那么明显。您可以使用 colorCustomization 修改它们:"workbench.colorCustomizations": {
// will change the color of three dots to red
"editorHint.foreground": "#ff0000",
// will underline the entire word with dots in your chosen color
"editorHint.border": "#00ff66"
}
这将为您提供两组提示点,您可以通过使它们透明来隐藏内置的三个点:"editorHint.foreground": "#f000",
关于visual-studio-code - VS Code : enable inline spell checker, 但在 "Problems"面板中禁用拼写检查,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50309834/