visual-studio-code - VS Code : enable inline spell checker, 但在 "Problems"面板中禁用拼写检查

标签 visual-studio-code spell-checking vscode-extensions

我使用 VS Code 的代码拼写检查器。我想在出现“更严重”问题的“问题”面板(标准键盘绑定(bind) Ctrl+Shift+M)中禁用拼写检查器警告/错误。

通常有很多拼写检查错误,我不得不向下滚动到“真正的”问题:-)

enter image description here

最佳答案

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/

相关文章:

visual-studio-code - 是否可以编写一个插件来打开一个目录并在其中生成一些文件?

vscode-extensions - 无法解析 json 文件,可能是由于注释或尾随逗号所致

自动弹出窗口中的字典建议

Vim:尝试修改拼写检查器以排除 "rare"个单词

visual-studio-code - 自定义 VS Code 扩展(上下文菜单命令)

javascript - VSCode Launch.json 配置无法启动 :desktop -- --app excel fails error 1 for Excel Office-Addin

javascript - 如何使用nodejs获取父文件夹名称

visual-studio-code - VSC 使用 CTRL+P 快速打开文件,但有些文件找不到

visual-studio-code - Rust Visual Studio Code 代码完成不起作用

python - 如何使用 Pandas 在 Python 中实现快速拼写检查器?