KeyMap

Editing
Tips
  1. 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.

  1. Ctrl+Alt+T
    When you want to catch exceptions thrown by some code fragment, select it in the editor, press Ctrl+Alt+T (Code | Surround With) and choose try / 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 of File | Settings |Editor| File and Code Templates.
    Use other items in the list to surround with other constructs.

  2. Ctrl + Alt + B

    KeyMap_第1张图片
    image.png

  3. Ctrl + Alt + V

    KeyMap_第2张图片
    refactor.png

KeyMap_第3张图片
image.png
KeyMap_第4张图片
2018年6月1日
KeyMap_第5张图片
2018年6月1日
  1. live Template


    KeyMap_第6张图片
    image.png
  2. CodeCompletion

    KeyMap_第7张图片
    image.png

  3. Ctrl+P

    KeyMap_第8张图片
    image.png

  4. Ctrl + Shift + F7

    KeyMap_第9张图片
    在当前文件快速高亮某个变量

  5. reformate


    KeyMap_第10张图片
    image.png
  6. Alt + Q

    KeyMap_第11张图片
    image.png

你可能感兴趣的:(KeyMap)