Writing in the front

Key Promoter X Idea Key Promoter X idea

Familiar with Mac keyboard symbols

| 1 | 2 | 3 | 4 5 | | | — – | — – | — – | — – | — – | — – | — – | — – | — – | — – | | ⌘ Command | ⇧ Shift | ⌥ Option | ⌃ Control | ↩ ︎ Return/Enter | | ⌫ Delete | ⌦ forward the Delete key (Fn + Delete) | ⇞ Page Up (Fn + write) | ⇟ Page Down (Fn + left) | Home Fn + please | | End Fn + – > | ⇥ right tabs (Tab) | ⇤ left the tabs (Shift + Tab) | ⎋ Escape (Esc)|

The IDEA of shortcuts

Edit the

⌃Space Basic code completion (completion of any class, method, variable)

⌃⇧Space Intelligent code completion (an expected type of filter method list and variable) ⌘ registering ↩ auto-ending code, Automatically add a semicolon to the end of the line to ⌘P display method parameter information ⌃J, Button click to quickly view registering an external document (⇧ ⌘+ will trigger opening a browser to display the relevant document to certain code). ⌘+ Mouse over the code to display a code summary to F1 To display specific descriptions to an error or warning, ⌃↩, ⌃N Generate code (getters, setters, constructors, hashCode/equals,toString) ⌃O Override methods (overriding superclass methods) ⌃I Implement methods (implementing methods in an interface) ⌘⌥ surrounding code (use if.. else, try.. catch, for, To invoke a selected code such as synchronized) ⌘/ Comment/uncomment and line comment ⌘⌥/ comment/uncomment and block comment ⌥↑ Consecutive code blocks ⌥↓ Reduce the currently selected code block ⌃ registering Q To display context information ⌥↩ to display intention actions and quick fixes ⌘X to cut the current row or selected block to the clipboard. ⌘C to copy the current row or selected block to the clipboard. ⌘V to paste ⇧V to the recent buffer to copy the current row or selected block Delete the row of the current row or selected block ⌃ registering an intelligent paragraph to concatenates code to a single ↩ intelligent split concatenating row ↩ to start a new row, U Case switching to the ⌘⇧] / ⌘ Registering [to select the end/start of the code block ⌥⌦ to Delete to the end of the word (⌦ with Fn+Delete) Lift to the beginning of a word the ⌘+ / ⌘- Expand/collapse code block ⌘ Registering + Expand so that a code block ⌘ Registering and collapsing all code blocks ⌘W An editor TAB to invoke an activity

Query replacement correlation

Double registering classes

⌘ Registering an Entry in a file ⌘G Lookup mode, search down to an entry in a lookup mode. ⌘ Registering an entry in a file To replace an entry in a file ⌘R Global lookup (by path). ⌘ Registering an entry in a file to replace an entry (by path). ⌘ Registering an alternate construct (Ultimate Edition only) needs to be set in Keymap. ⌥F7 / ⌘F7 Lookup a usage in a file/Lookup a usage in a class. ⌘ registering F7 A usage that is highlighted in a file ⌘⌥F7 Showing a usage ⌘ Registering I to view the class defined

Refactoring code related

F5 Copies the file to the specified directory

⌘⌥N Consistency ⌘⌥M To invoke the selected code to methods ⌘⌥V to invoke variables ⌘⌥F to invoke a field TO invoke C to invoke a value TO invoke P to invoke parameters

Compile operation

⌘ F9 to compile the Project

⌘ Registering F9 Select a file, package, or module to compile ⌃⌥R Pop up the Run option ⌃⌥D Pop up the Debug option ⌃R Run ⌃D Debug ⌃ registering R, ⌃⌥ registering D Run context configuration from the editor

debug

F8 enter the next step, if the current line breakpoint is a method, do not enter the current method body

F7 to enter the next step, if the current line breakpoint is a method, the current method to the body, if the method body and method, do not enter the embedded method into ⇧ F7 intelligence, breakpoint on lines where there are multiple method calls, which method will pop up into ⇧ F8 ⌥ F9 run to the cursor, If you have any other breakpoint cursor before entering into the breakpoint ⌥ F8 expression (which can change quantity more enforced) ⌘ ⌥ R recovery program is running, if the breakpoint is the following code and breakpoint stop on the next breakpoint ⌘ F8 to toggle breakpoint (if the current line cursor has a breakpoint is cancelled breakpoints, did not add a breakpoint) ⌘ ⇧ F8 to view the breakpoint information

Navigation related

⌘O lookup class files

⌘⇧O lookup all file types, open files, and open directories, To open a directory, add a backslash / ⌘⌥O to go to a specified variable/method ⌃← / ⌃→ Toggle left and right open the edit TAB F12 Return to the previous tool window ⎋. From the tool window, go to the code file window to hide the current or last active window. Disable the run/messages/find/… TAB ⌘L To jump to a specified line in the current file ⌘E to display the list of recently opened file records ⌘⌥← / ⌘⌥→ To return/advance to the previous operation ⌘⇧⌫ To the last edit ⌥F1 To display the current file to select the target pop-up layer, There are a number of objects to select in the pop-up layer (such as the file’s Finder to be displayed in the code edit window). ⌘B / ⌘ mouse click to an interface to the cursor’s method/variable or a definition ⌘⌥B to jump to an implementation. Using a method name to invoke will jump to a specific implementation. You can skip the ⌥ Space interface, ⌘Y Definition of a method or class to allow the cursor to be quickly opened ⌃ registering B To jump to a type declaration ⌘U Method/interface definition to go to the parent of the method to which the cursor is to be clicked ⌃↓ / ⌃↑ Position to allow the cursor to jump to the preceding/subsequent method name in the current file ⌘] / ⌘[ Move the cursor to the start/end of the curly brace of the current code to ⌘F12 pop up the current file structure layer, Type directly above the pop up layer to filter (to search for methods in a class) ⌃H Displays the current class hierarchy to CONTRIBUTE to a method hierarchy ⌃⌥H Displays an invocation hierarchy F2 / ⇧F2 jump to the next/previous location to highlight an error or warning F4 / ⌘↓ Edit/view code source ⌥ Home Display navigation bar to the current file F3 Select a file/folder/line of code and add/cancel a bookmark ⌥F3 Select a file/folder/line of code and use a mnemonic to add/cancel a bookmark ⌃0…⌃9 Orient to the bookmark location of the corresponding value ⌘F3 to display all bookmarks

general

⌘ 1… ⌘9 Open the tool window with the corresponding number

⌘S To save all of ⌥Y synchronization, refresh ⌃⌘F To switch to a full-screen mode to invoke Registering F12 to switch to the maximum editor ⌥ registering F to add to the favorite ⌥ registering I to check the current file to the current configuration file §⌃, ⌥ ‘to quickly switch the current scheme (switching topics, code styles, etc.). Open the IDEA system setting ⌘; Open the Project Structure dialog to allow registering A lookup action (associated options can be set) ⌃⇥ to switch between an edit TAB and A tool window (to close the selected window if registering delete).

Above basically can cover 90% of our development, other not commonly used will not list. It is suggested to print it out and find it when it is convenient to use.