intellij idea Search

 

1 . Ctrl + N by name search class 
    is equivalent to eclipse the Ctrl + the Shift + R, enter the class name can locate the class file 
    as idea manifested in other search part of the same search class name also on what you want to search more portions of the match 
    was not even write their own class can also search 
    and write their own classes if they can match, matching priority class to write their own 
2 . the Shift + Ctrl + N to search for files by file name 
    with the search category similar, but can be matched all types of files 
. 3 . the Ctrl + Inheritance H View class 
    e.g. HashMap parent class is AbstractMap, sub-class there is a lot 
. 4 . the Ctrl + the Alt + B View sub-class method to achieve 
    the Ctrl + B can view the parent or the parent method defined , but not as convenient ctrl + left mouse button. But here, Ctrl + B or ctrl + left mouse button can only see the definition of abstract methods put in the Map interface, not what we want, this time + Alt + Ctrl B can view the put method of HashMap.
. 5 . The Alt + F7 where to find the class or method to be used 
    corresponds to the eclipse of the Ctrl + SHIF +H, but much faster.
6 . Ctrl + F / Ctrl + the Shift + F Find in accordance with the content of the text 
    ctrl equivalent of eclipse + H, the speed advantage is more obvious. Which is Ctrl + F to find on this page, the Shift + Ctrl + F is a global lookup
 7 . The Shift + the Shift search anything
     the Shift + the Shift very powerful, searchable categories, resources, configuration items, and other methods, but also the search path. Where the search path is useful, for example, you write a function called hello, in java, js, css, jsp hello in both folders, then we can search for " hello / " find the file path contains hello folder.

 

Guess you like

Origin www.cnblogs.com/chenzechao/p/10995839.html