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

PyCharm拼写检查突然失效,如何重新激活?多次开关设置无效

Fixing PyCharm Spell Check Not Working Issue

Hey there, let's work through getting your PyCharm spell check back up and running—this is a super common hiccup, so we'll troubleshoot it step by step:

  • Double-check core spell check settings
    First, make sure you're not missing a key toggle beyond just enabling/disabling the feature. Open your settings (Windows/Linux: File > Settings; Mac: PyCharm > Settings), navigate to Editor > Inspections > Spelling. Confirm:

    • The Spelling checkbox is ticked
    • Under "Options", both Process code and Process comments are enabled (if you want checks in those areas)
    • The target language (e.g., English) is selected in the dropdown
  • Verify excluded file types
    Sometimes PyCharm accidentally adds your working file types to the exclusion list. In the same Spelling settings pane, look at the bottom right Excluded file types section. If you see .py or the file type you're editing listed here, remove it immediately.

  • Clear PyCharm cache and restart
    Corrupted cache files are a frequent culprit for weird UI/feature glitches. Go to File > Invalidate Caches..., select the Invalidate and Restart option, and let PyCharm reload. This won't delete your project files, just temporary cache data.

  • Check dictionary integrity
    A broken or missing dictionary can disable spell checks. In the Spelling settings, switch to the Dictionaries tab:

    • Ensure the default English dictionary (or your preferred language) is enabled
    • If it's missing, click Add Dictionary and select the system-provided language dictionary (usually found in your OS's language files or PyCharm's default dictionary folder)
  • Rule out plugin conflicts
    Recent plugin installs might interfere with the built-in spell checker. Try launching PyCharm in Safe Mode (hold Shift on Windows/Linux, Option on Mac during startup) to disable all third-party plugins. If spell check works here, enable plugins one by one to find the conflicting one.

  • Reset inspection settings to defaults
    If all else fails, your inspection configuration might be corrupted. Go to Editor > Inspections, click the gear icon in the top-right corner, select Restore Defaults, then restart PyCharm. This will reset all inspection rules to their original state.

Let me know if any of these steps resolve your issue—if not, we can dive into project-specific settings!

内容的提问来源于stack exchange,提问作者Haiper Safi

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.13 07:26:07