Several use idea Code Search

Ctrl + N category search by name

  输入类名可以定位到这个类文件;
  甚至不是自己写的类也能搜索;
  如果能匹配的自己写的类,优先匹配自己写的类;

Ctrl + Shift + N to search for files by file name

Ctrl + H to see the class inheritance

  例如HashMap的父类是AbstractMap,子类则有一大堆

Ctrl + Alt + B sub-class method implementation See

  Ctrl+B可以查看父类或父方法定义;
  ctrl+鼠标左键也可以查看父类或父方法定义;
  但是Ctrl+Alt+B就可以查看具体的方法。

Alt + F7 class or method is used to find where

Ctrl + F / Ctrl + Shift + F Find in accordance with the contents of the text

    Ctrl+F是在本页查找;
    Ctrl+Shift+F是全局查找;

Shift + Shift search for anything

shift+shift非常强大,可搜索类、资源、配置项、方法等,还能搜索路径。
其中搜索路径非常实用,
例如你写了一个功能叫hello,在java,js,css,jsp中都有hello的文件夹,
那我们可以搜索"hello/"找到路径中包含hello的文件夹。
Released eight original articles · won praise 1 · views 162

Guess you like

Origin blog.csdn.net/weixin_44765021/article/details/104428960