Editing
Tips
- Window Focus
- The
Esc
key in any tool window moves the focus to the editor. -
Shift + Esc
moves the focus to the editor and also hides the current (or last active) tool window. - The
F12
key moves the focus from the editor to the last focused tool window.
Ctrl
+Alt
+T
When you want to catch exceptions thrown by some code fragment, select it in the editor, pressCtrl
+Alt
+T
(Code
|Surround With
) and choosetry / catch
. The catch blocks for all the exceptions thrown inside the block will be generated automatically.
You can customize the bodies of the generated catch blocks on the Code tab ofFile | Settings |Editor| File and Code Templates
.
Use other items in the list to surround with other constructs.-
Ctrl
+Alt
+B
-
Ctrl
+Alt
+V
-
live Template
-
CodeCompletion
-
Ctrl
+P
-
Ctrl
+Shift
+F7
-
reformate
-
Alt
+Q