【问题标题】:Find exact match word查找完全匹配的单词
【发布时间】:2017-10-22 12:34:33
【问题描述】:

我想在我的项目中搜索“组”。

但是,当我使用搜索对话框时,我可以看到所有“组”结果,还可以看到“组”、“分组”和“分组器”。

我不想看到最后三个,只想看到“分组”的匹配项。

有没有办法在 PyCharm 2017.1 中做到这一点?

我试过引号和匹配框打勾。我所追求的也没有。

谢谢

【问题讨论】:

  • words 选项——应该完全匹配(只要文本在这样的词周围使用一些常见的分隔符)。

标签: ide pycharm jetbrains-ide


【解决方案1】:

您可以在此处使用Words 选项(https://www.jetbrains.com/help/pycharm/2017.1/find-and-replace-in-path.html):

Words   
Select this check box to have PyCharm search for whole words or their parts, (character strings separated with spaces, tabs, punctuation, or special characters).
This check box is disabled, if the Regex check box is selected.

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-08-27
    • 1970-01-01
    • 2017-05-25
    • 1970-01-01
    • 1970-01-01
    • 2018-07-12
    • 1970-01-01
    相关资源
    最近更新 更多