Java basic grammar --IDEA shortcuts

Ctrl + Shift + Enter, the statement is complete
, "!", Negation is completed, the input expression by "!" Key
Ctrl + E, recent documents
Ctrl + Shift + E, file recently changed
Shift + Click, you can close the file
Ctrl + [ OR], you can go to the beginning and end brace
Ctrl + F12, can display the current configuration file
Ctrl + F7, reference can query the current element in the current file, and then press F3 can be selected
Ctrl + N, can quickly open the class
ctrl + Shift + N, can quickly open the file
Alt + Q, the current method can see the statement
ctrl + P, the parameter information may be displayed
ctrl + Shift + insert, the contents of the clipboard may be selected and inserted into
Alt + insert, can generate the constructor / Getter / Setter like
Ctrl + Alt + V, variables can be introduced. For example: new String (); automatically import variable definition
Ctrl + Alt + T, can be encased in a block of code, for example: the try / the catch
Ctrl + the Enter, import the package, an automatic correction
Ctrl + Alt + L, format code
Ctrl + Alt + I, the selected code automatically indent, the JSP file editing function can work
Ctrl + Alt + O, packet optimization based import and
Ctrl + R, replacement text
Ctrl + F, find text
Ctrl + Shift + Space, auto-completion of code
Ctrl + Space, code hints (the system Input Method Shortcut conflict)
Ctrl + the Shift + Alt + N, find the method or variable class
Alt + Shift + C, recent changes
Alt + Shift + Up / Down, Up / Down line
Shift + F6, Reconstruction - rename
Ctrl + X, delete rows
Ctrl + D, line copy
Ctrl + / or Ctrl + Shift + /, comment (// or / ** /)
the Ctrl + J, automatic code (e.g.: serr )
Ctrl + Alt + J, with dynamic template surround
Ctrl + H, show class structure diagram (inheritance hierarchy class)
Ctrl + Q, show comments document
Alt + F1, look for the code location
Alt + 1, quickly open or hidden engineering panel
ctrl + Alt + left / right, return to the last visited position
Alt + left / right, switching code view
Alt + up / Down, mobile positioning quickly through method
ctrl + Shift + up / Down, up / down statement
F2 or Shift + F2, highlighting errors or warnings to quickly locate
Tab, enter the label after the code is complete, press Tab, the generated code
Ctrl + Shift + F7, highlight all the text, press Esc to highlight disappear
Alt + F3, look down one by one same text and highlight
+ Up under Ctrl / Down, the cursor in the first row to the last row or
Ctrl + B / Ctrl + Click Quickly open the class or method of the cursor position (jump to the definition)
Ctrl + Alt + B, the method jumps to achieve the
Ctrl + Shift + Backspace, Jumping to the last edit
Ctrl + O, override method
Ctrl + Alt + Space, the class name completion
Ctrl + Alt + Up / Down quick to jump the search results
Ctrl + Shift + J, the integration of the two lines
Alt + F8, to calculate the variable value
Ctrl + Shift + V, the contents of the clipboard can be used to select recently inserted into the text
Ctrl + Alt + Shift + V, simply paste
Shift + Esc, not only to move the focus to the editor, but also to hide the current (or last event) tool window
F12, move the focus to the most recently used tool window from the editor
Shift + F1, to open the editor cursor class or method used by the character of the Java documentation browser
Ctrl + W, you can select a word and then sentence and then the line followed by the function
Ctrl + Shift + W, deselect the cursor word
Alt + F7, look for a certain class of the whole project in the use of land, a method or a variable position
Ctrl + I, implementation
Ctrl + Shift + U, sensitive conversion
Ctrl + Y, delete the current row


Shift + Enter, down insert a new row
psvm / sout, main / System.out.println ( ); Ctrl + J, to see more
Ctrl + Shift + F, Global Search
Ctrl + F, Find / Shift + F3, look up / F3, look down
Ctrl + Shift + S, advanced Search
Ctrl + U, go to the parent
Ctrl + Alt + S, open the settings dialog box
Alt + Shift + Inert, On / Off column selection mode
Ctrl + Alt + Shift + S, to open the current project / module properties
Ctrl + G, positioning the row
Alt + Home, Skip to navigation
Ctrl + Enter, the interpolation line
Ctrl + Backspace, delete word press
Ctrl + "+/-", the current method expand, collapse
Ctrl + Shift + "+/-", expand, folding

[Debugging section, compiled]
Ctrl + F2, stop
Alt + Shift + F9, select Debug
Alt + the Shift + F10, select the Run
Ctrl + the Shift + F9, compiled
Ctrl + Shift + F10, run
Ctrl + Shift + F8, view the breakpoint
F8, step over
F7, entering
Shift + F7, intelligent entering
Shift + F8, stepped out
Alt + Shift + F8, forced to step over
Alt + Shift + F7, forced into the
Alt + F9, run to cursor
Ctrl + Alt + F9, forced to run the cursor to
F9, the recovery program
Alt + F10, positioning the breakpoint
Ctrl + F8, the switching line breakpoints
Ctrl + F9, generating project
Alt + 1, item
Alt + 2, collection
the Alt +. 6, the TODO
the Alt +7 structure
Ctrl + Shift + C, copy the path
Ctrl + Alt + Shift + C, copy references must select class name
Ctrl + Alt + Y, synchronization
Ctrl + ~, fast switching scheme (look and feel, style code, keymap menu, etc.)
the Shift + F12, to restore the default layout
Ctrl + Shift + F12, hide / restore all windows
Ctrl + F4, to close
Ctrl + Shift + F4, close the active tab
Ctrl + Tab, go to the next splitter
Ctrl + Shift + Tab, to a splitter

[Reconstruction]
Ctrl + Alt + Shift + T, the pop-up menu reconstructed
Shift + F6, rename
F6, mobile
F5, copy
Alt + Delete, delete safe
Ctrl + Alt + N, inline

Find.
Ctrl + F, find the
Ctrl + R, alternatively
F3, find next
Shift + F3, to find a
Ctrl + Shift + F, to find the path
Ctrl + Shift + R, replaced in the path
Ctrl + Shift + S search the structure
Ctrl + Shift + M, alternative constructions
Alt + F7, find use
Ctrl + Alt + F7, show usage
Ctrl + F7, find usage in a file
Ctrl + Shift + F7, highlighted in the document usage

Guess you like

Origin www.cnblogs.com/Jiang-jiang936098227/p/11968464.html