Level 1 meeting
Shift + F10: Run running
CTRL + ALT + R: the rake is displayed.
CTRL + ALT + G: generate is displayed.
CTRL + ALT + L: format the code
Alt + F1: Switch the view (Project, structure, etc .).
Alt + F2: The Preview window is displayed. You can select a browser to open the webpage.
Alt + insert: equivalent to file | new, but must be executed outside the class
Alt + enter: A quick fix prompt, equivalent to the Alt + F1 of eclipse
Alt + home: display the folder navigation bar
CTRL + J: insert the dynamic template code, which is very convenient. CTRL + ALT + J: Use a dynamic template to enclose the selected code
CTRL +/, CTRL + Shift +/: comment out the code
CTRL + space: the code is automatically supplemented, which is equivalent to the Alt +/of Eclipse /. We recommend that you change it to Alt +/
CTRL + Q: Show document DOC
CTRL + W
CTRL + D: copy a row
CTRL + Y: delete a row
Shift + ALT + N: jump between controller, model, and view
Shift + ALT + F10: Run, dubug
Level 2 advanced
Alt + home: Display navigation bar
Alt + F1: Switch (Project, structure, etc.) in different views .).
CTRL + tab: switch between the tool window and the open file window
CTRL + F: find in the current file
CTRL + Shift + F: find in the folder
CTRL + Shift + F7: Quickly display the call of the selected code
CTRL + Shift +.: insert the *. html. ERB File
CTRL + N, CTRL + Shift + N, CTRL + Shift + ALT + N: Search for classes, files, and symbols by name
CTRL + Shift + T: to surround a block of code
CTRL + ALT + D: displays the model diagram, that is, the erdiagram. View | show model dependency Divisor
Level 3 cool games
A. Interface Adjustment
ESC: Return to the editor from any interface
Shift + ESC: Return to the editor to hide all the toolbar
Shift + F6: Rename, file, method name, class name, variable name, etc.
F12: equivalent to the SHIFT + ESC rollback key, displaying the last opened Toolbar
B. Variable Selection
CTRL + shfit + F7: highlight the position where the variable appears in this file
F3, Shift + F3: jump between different variables
ESC: Cancel Selection
Alt + left, ALT + Right: switch between different tabs
CTRL + Click tab: The Path dialog box is displayed. The selected path will be displayed in the new window.
CTRL + E: the recently opened file selection box is displayed.
CTRL + Shift + up, CTRL + Shift + down: Move the code up and down
CTRL + Shift + backspace: move the cursor to the last modified position
CTRL ++, CTRL +-: expand or contract the code
CTRL + shift ++, CTRL + Shift +-: expand or contract all codes
CTRL + ~ : Switch the topic, color, etc. (usually occupied by the input method by default)
Change shortcuts
Example: change the code prompt shortcut key from Alt + space to CTRL + ALT +/
Open File> setting> keymap
Find Main Menu> code> complete code> basic, and select "add keyboard shortcut cut" on the right"
In the displayed box, place the cursor in the input box and press CTRL + ALT +/
After the application is saved, it will take effect.