I use mac at home and windows at work! Since I have little experience as an engineer, I decided to write a shortcut here instead of a dictionary to improve development efficiency!
| windows | mac | |
|---|---|---|
| Indent | Ctrl+shift+F | command+⇧+F | 
| Comment out(Release) | Ctrl+/Or Ctrl+Shift+C  | 
command+/Or command+⇧+C  | 
| Open declaration | F3 | F3 | 
| javadoc comment | Alt+Shift+J | option+command+J | 
| Step in | F5 | F5 | 
| Step over | F6 | F6 | 
| Step return | F7 | F7 | 
| Resume | F8 | F8 | 
** Supplement **
During the training period, I worked hard line by line to indent! When I learned this, I was impressed and wondered what my time was! Commenting out also purposely added "/ ** /" at the beginning and end of the line ... Shortcuts are important.
Also, be sure to add javadock comments on site! I was ashamed because I didn't understand the common sense.
| windows | mac | |
|---|---|---|
| Run | Ctrl+F11 | ⇧+command+F11 | 
| Debug | F11 | command+F11 | 
| assist | Ctrl+space | (*)Environmental setting | 
| Automatic import | Ctrl+Shift+O | command+⇧+O | 
| Jump to the specified line | Ctrl+L | command+L | 
| Find, replace | Ctrl+F | command+F | 
| Jump to the corresponding bracket | Ctrl+Shift+P | ⇧+command+P | 
| Tab search | Ctrl+E | command+E | 
| Change variable names all at once | Alt+Shift+R | option+command+R | 
** Supplement **
I still can't forget the shock of learning about automatic imports. If you think that something is wrong and press Ctrl + Shift + O, the error disappears at once! The feeling of exhilaration at that time is irresistible.
Execution is still done by right-clicking. Rather, those who are running with shortcuts, I may not have seen ... I want to be able to use it naturally.
| windows | mac | |
|---|---|---|
| Open call hierarchy | Ctrl+Alt+H | control+option+H | 
| New | Ctrl+N | command+N | 
| New menu | Alt+Shift+N | option+command+N | 
| Property | Alt+Enter | option+return | 
| close | Ctrl+W | command+W | 
| Close all | Ctrl+Shift+W | command+⇧+W | 
| Execute by specifying the startup method | Alt+Shift+X | option+command+X | 
| Breakpoint switching | Ctrl+Shift+B | ⇧+command+B | 
| Next view | Ctrl+F7 | command+F7 | 
| Previous view | Ctrl+Shift+F7 | command+⇧+F7 | 
| Next editor | Ctrl+F6 | command+F6 | 
| Previous editor | Ctrl+Shift+F6 | command+⇧+F6 | 
| Next tab | Ctrl+PageDown | control+fn+↓ | 
| Previous tab | Ctrl+PageUp | control+fn+↑ | 
If you don't like mice, you should use it!
Since this is my first post on qiita, there may be many places to go, but I hope it will be helpful for you and those who have little development experience!
Recommended Posts