码上游记

hongjian.xia的个人博客

0%

Idea常用快捷键

插件推荐

推荐大家安装IDE Features Trainer这款插件,插件通过示例帮助我们记忆各种常用的快捷键,以下收录的快捷键都是插件中提及的。

快捷键速查

⌥⇧→: to move caret to next word and select everything between in

⌥↑: to extend the selection to the next code block

⌥↓: to shrink selection

⌃/: Basic Completion

⇧F6: to rename

⌘⌥L: to format code

⌘⌃G: 选择文件中的所有相同符号

F2: to jump the next highlight error

⌘F1: to see error description

⌘⇧F7: to highlight all usages of the symbol at caret with the file

⌘P: to see the method signature

⌘↓: to look up the source

⌘B: to jump the declaration of a class of interface

⌘F12: to see the file sturcture

⌘F: to call the Find action

⏎ or ⌘G: to find next occurrences

⌘⇧G: to find previous occurrences