工具 - IDEA快捷键整理[Win/Mac]

2020/09/26

This article sorts out the shortcut keys commonly used in IntelliJ IDEA, including Windows and Mac.

New

  • Reformat Code

Ctrl + L/Command + L

  • Next Highlighted Error

F2

  • Type Hierarchy

Ctrl + H/Option + H

Be careful: The Command + H key combination in mac is hidding current window.

  • Find Usages

Alt + F7/Option + F7

  • Optimize Imports

Ctrl + O/Command + O

  • Parameter Info

Ctrl + P/Command + P

Difference

  • Home

Home/Command + ←

  • End

End/Comand + →

  • Forward

Ctrl + Alt + →/Command + ]

  • Back

Ctrl + Alt + ←/Command + [

  • Quick Documentation

Ctrl + Q/F1

  • Evaluate Expression

Alt + F8/Option + F8

  • Generate

Ctrl + N/Command + N

Familar

  • Paste from History

Ctrl + Shift + V/Command + Shift + V

  • Comment

Ctrl + / | Command + /

  • Go to Line

Ctrl + G/Command + G

  • Recent Files

Ctrl + E/Command + E

  • Recent Locations

Ctrl + Shift + E/Command + Shift + E

  • Collapse

Ctrl + -/Command + -

  • Collapse All

Ctrl + Shift + -/Command + Shift + -

  • Expand

Ctrl + +/Command + +

  • Expand All

Ctrl + Shift + +/Command + Shift + +

  • Debug

Shift + F9

  • Run

Shift + F10

  • Toggle Line Breakpoint

Ctrl + F8/Command + F8

  • Step Into

F7

  • Step Over

F8

  • Resume Program

F9

  • Find

Ctrl + F/Command + F

  • Find in Path

Ctrl + Shift + F/Command + Shift + F

  • Rename

Shift + F6

  • Search Everywhere

Shift + Shift

  • Extend Selection

Ctrl + W/Command + W

  • File Structure

Ctrl + F12/Command + F12

Reference


一位喜欢提问、尝试的程序员

(转载本站文章请注明作者和出处 姚屹晨-yaoyichen

Post Directory