自用代码编辑快捷键,所有编辑器通用
浏览
hotkey | function |
---|---|
alt + d | go to defination |
alt + r | go to usages |
ctrl + click | go to declaration or usages |
alt + end/alt + click | go to implementations |
alt + home/alt + right click | go to super method |
alt + g | go to class |
alt + l | go to line |
alt + ; | go to line end |
alt + q | go back |
alt + e | go ahead |
alt + s | file struct |
alt + [1-6] | expand all to level |
编辑
hotkey | function |
---|---|
alt + f | format file |
ctrl + / | toggle comment |
ctrl + f | find |
ctrl + shift + f | global find |
ctrl + h | replace |
ctrl + shift + h | global replace |
F2 | rename |
alt + n | generate code |
alt + t | insert live template |
ctrl + t | save as live template |
alt + ↓ | move line down |
alt + ↑ | move line up |
工程
hotkey | function |
---|---|
f5 | run |
f6 | debug |
f7 | build |
f9 | toggle line breakpoint |
f10 | step over |
f11 | step into |
f12 | resume program |
Backlinks:
- 代码编辑快捷键