You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

VS Code:启用行内拼写检查,关闭Problems面板拼写检查提示

Turn Off Spelling Check Warnings/Errors in VS Code's Problems Panel

I totally get where you're coming from—having spelling checks cluttering up the Problems panel makes it way harder to spot the actual critical code issues you care about. Here's how to fix this, assuming you're using the widely used Code Spell Checker plugin:

  • Open VS Code Settings: Press Ctrl+, (Windows/Linux) or Cmd+, (Mac), or go to File > Preferences > Settings from the top menu.
  • Find the diagnostic level setting: In the settings search bar, type cSpell.diagnosticLevel. This setting controls how spelling issues are classified in VS Code.
  • Switch to "Hint" level: By default, this is set to "Warning" or "Error"—both of which show up in the Problems panel. Changing it to "Hint" will keep the inline underlines for spelling issues but remove them from the Problems panel entirely.
  • Optional: Disable all spelling diagnostics: If you don't even want inline hints, search for cSpell.enableDiagnostics and toggle it to false.
  • Granular control (if needed): If you only want to exclude spelling checks from specific files/folders, use the cSpell.exclude setting to add patterns (like **/*.config.js or build/**) where you don't want spelling checks to run.

This should clear up your Problems panel so you can focus on the important stuff without scrolling through a bunch of spelling warnings!

内容的提问来源于stack exchange,提问作者Jens Madsen

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.27 07:32:49