In this part basic functionality of IDE is demonstrated and gone through.
Action | Win/Lin keys | Mac keys |
---|---|---|
To find any action inside the IDE use Find Action | Ctrl + Shift + A | ⌘ ⇧ A |
Show intention actions and quick-fixes | Alt + Enter | ⌥ Enter |
Basic code completion (the name of any class, method or variable) | Ctrl + Space | ⌃ Space |
Go to declaration (the name of any class, method or variable) | Ctrl + B , Ctrl + Click | ⌘ B , ⌘ Click |
Select successively increasing code blocks | Ctrl + W | ⌥ ↑ |
Find/Replace | Ctrl + F / Ctrl + R | ⌘ F, ⌘ R |
Go to class | Ctrl + N | ⌘ O |
Go to line | Ctrl + G | ⌘ L |
Action | Win/Lin keys | Mac keys |
---|---|---|
Reformat code | Ctrl + Alt + L | ⌘ ⌥ L |
Action | Win/Lin keys | Mac keys |
---|---|---|
Change Signature | Ctrl + F6 | ⌘ F6 |
Surround with... | Ctrl + Alt + T | ⌘ ⌥ T |
Extract Constant | Ctrl + Alt + C | ⌘ ⌥ C |
Extract Method | Ctrl + Alt + M | ⌘ ⌥ M |
Safe delete | Alt + Delete | ⌘ Delete |
Create test | Ctrl + Shift + T | ⌘ ⇧ T |
concept : breakpoint - a breakpoint is an intentional stopping or pausing place in a program, put in place for debugging purposes. (Wikipedia)
Action | Win/Lin keys | Mac keys |
---|---|---|
Resume program | F9 | F9 |
Step over/into | F8 / F7 | F8 / F7 |
Step out | Shift + F8 | ⇧ F8 |
Evaluate expression | Alt + F8 | ⌥ F8 |
View breakpoints | Ctrl + Shift + F8 | ⌘ ⇧ F8 |
Action | Win/Lin keys | Mac keys |
---|---|---|
Open Settings dialog | Ctrl + Alt + S | ⌘ , |