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

PyCharm是否支持智能大小写搜索?如何启用该功能?

Absolutely! PyCharm has exactly the "smart case" search behavior you’re describing—where all-lowercase queries trigger case-insensitive searches, and adding any uppercase character automatically switches to case-sensitive mode. Here’s how to enable it:

  • Open PyCharm's Settings:
    • On Windows/Linux: Go to File > Settings (or use the shortcut Ctrl+Alt+S)
    • On macOS: Go to PyCharm > Settings (shortcut Cmd+,)
  • Navigate to Editor > Find in the settings menu
  • Locate the Smart case checkbox and tick it
  • Click Apply then OK to save your changes

Once enabled, your searches will work just as you prefer: type entirely lowercase, and PyCharm will match any case variation of your query; include even one uppercase letter, and it’ll only return results that match the exact case you entered.

This setting applies across most PyCharm search tools, including in-file searches (Ctrl+F/Cmd+F), global Find in Path (Ctrl+Shift+F/Cmd+Shift+F), and even the Search Everywhere tool (double-tap Shift).

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.21 06:24:51