【问题标题】:What is Eclipse's Ctrl+H shortcut equivalent in IntelliJ IDEAIntelliJ IDEA 中 Eclipse 的 Ctrl+H 快捷键是什么
【发布时间】:2015-01-05 07:16:23
【问题描述】:

Intellij IDEA中,如何像Eclipse中那样通过Ctrl+H命令在所有项目文件中搜索字符串或关键字? p>

【问题讨论】:

  • 不确定,但您可以更改 intellij 的绑定以镜像 Eclipses
  • Ctrl + Shift + F 会帮助你。 (注意您可以自定义模块进行搜索:))

标签: java intellij-idea ide


【解决方案1】:

要在工作区中搜索,您可以使用 Ctrl+F

在路径中查找Ctrl+Shift+F很有用

【讨论】:

    【解决方案2】:

    Ctrl + Shift + F 搜索整个项目

    【讨论】:

      【解决方案3】:
       Ctrl + H = "Type Hierarchy" view = shows a tree of parent and 
       child classes of this class.
      
       Ctrl + Shift + A = "It does a search as you type through all the commands 
       in intellij. Not only that but when you find the command you want it also 
       displays the corresponding shortcut key next to it!" 
      

      https://www.jetbrains.com/idea/help/keyboard-shortcuts-you-cannot-miss.html

      希望对你有帮助!

      【讨论】:

        【解决方案4】:

        用于按名称导航到类 (Ctrl+N)

        【讨论】:

          【解决方案5】:

          您要搜索的快捷键是Ctrl+Shift+H

          在显示的“查找路径”对话框中,指定以下选项:

          1. 要查找的文本。
          2. 明确键入文本,或使用正则表达式指定模式,或从最近历史记录下拉列表中选择以前使用的一段文本或模式。
          3. 如果您通过正则表达式指定搜索模式,请在反向引用中使用 $n 格式(以引用先前找到并保存的模式)。
          4. 搜索范围(项目、模块或目录)。
          5. 搜索选项(区分大小写、整个单词和常规 表达式)。

          然后点击查找

          希望这有帮助。

          【讨论】:

            【解决方案6】:

            Ctrl+Alt+ICtrl+Alt+L in IntelliJ IDEA Eclipse中的Ctrl+Shift+F

            【讨论】:

              【解决方案7】:

              您可以尝试上述解决方案以及此处提到的链接以获得更多有用的 intellij 快捷方式

              Ctrl + Shift + N

              https://www.catalysts.cc/en/wissenswertes/intellij-idea-and-eclipse-shortcuts/

              希望这会有所帮助 谢谢

              【讨论】:

                猜你喜欢
                • 1970-01-01
                • 1970-01-01
                • 2010-12-29
                • 1970-01-01
                • 1970-01-01
                • 1970-01-01
                • 1970-01-01
                • 1970-01-01
                • 1970-01-01
                相关资源
                最近更新 更多