Miles' Blog

天涯何處無幹話,何必要講實務話

IntelliJ

Shortcut

Search Everywhere Double-press Shift

Line

fn+↑         the top of the document
fn+↓         the end of the document

Jump

⌘+↑           jump to navigation bar
⌘+1           jump to project
⌘+L           go to line
⌘+[           Back last step
⌘+SHIF+Del   Last Edit Location
Ctrl+Tab      switcher
⌘+`           project window  

Jump tool window

⌘+F9          log 視窗
Alt+F12        terminal 視窗

Generate

Alt+Enter      generate phpdoc / getter /setter ...
⌘+N           add new file/ directory
Ctrl+I        Implement

Refactor

Ctrl+T          refactor 光箱
⌥⌘V             variable inline
⌥⌘M            extract method
Shift+F6        rename parameter

⌘+Alt+L        排版spr2
⌘+SHIF+U       upper or lower case
ALT+SHIFT+U     camelCase. Need install CamelCase plugin
⌘+F12          file structure
⌘+O            navigate class
⌘+滑鼠左鍵      function define
Ctrl+P          parameter info

Other

F3             bookmark

References

0%