Idea commonly used shortcut health





The lineup of this list is too luxurious, and the last few are so useful, they are not showing weakness.
? Top #10Cut to and fro: Ctrl+Tab
? Top #9 Pick what you want: Ctrl+W
? Top #8Code generation: Template/Postfix +Tab 
? Top #7 Give orders: Ctrl+Shift+A
? Top # 6 Nowhere to hide: Shift+Shift
? Top #5 Autocomplete: Ctrl+Shift+Enter
? Top #4 Create everything: Alt+Insert
? Top #3 Smart completion: Ctrl+Shift+Space
? Top #2 Self-healing: Alt+Enter
? Top #1 Refactor everything: Ctrl+Shift+Alt+T

Note: Many key combinations in idea have different uses in different windows and different editing areas

Most Common Shortcuts - Uncategorized

Command Binding Description defeat
- Ctrl+/ Code Hint No
- Ctrl+Alt+L Format code
- Ctrl+Alt+O Format import list
- Ctrl+Alt+T Create unit test case
- Ctrl+B Quickly open class or method at cursor
- Ctrl+E Can display a list of recently edited files
- Ctrl+P Method parameter prompt
- Ctrl+Alt+V Refactoring - Extract as variable
- Ctrl+Alt+F Refactoring-Extract as property-
Ctrl+Alt+P Refactoring-Extract as method parameter-
Ctrl+Alt+T can wrap the code in one piece, such as try/catch
- Shift+Alt+M Refactoring-Extract Method No
- Shift+F6 Refactoring - Renaming
- Ctrl + F7 to query the reference of the current element in the current file, then press F3 to select
- Ctrl + SHIFT + N or twice SHIFT to find the file
- Alt + Enter to import the package or solve Functions that require try exceptions
Main menu-View-Switch full screen - Ctrl+Alt+F11 Switch full screen NO
Toggle Presentation mode Ctrl+Alt+F10 Switch full screen 2 NO
- Ctrl+Alt+H View the call chain, such as: a method is called Who calls
[commonly used] automatic code, code generation

Command Binding Description defeat
- CTRL+/ Code hint (auto-completion code) no
- ALT+Insert Click in edit window to generate constructor, toString,
getter/setter, override parent class methods, etc.
- CTRL+Shift+Enter to complete the end, such as "(", will be completed as "();"
- CTRL+J automatic code template, custom quick code abbreviation in eclipse
Commonly used are fori/sout/psvm+Tab to generate boilerplate boilerplate code such as loop, System.out, main method, etc. You can view all templates with Ctrl+J.

Postfix Completion is more flexible and powerful than template generation. For example to type for(User user : users) just type user.for+Tab.
For another example, to enter Date birthday = user.getBirthday(); just enter user.getBirthday().var+Tab.
[Other] Automatic code, code generation

Command Binding Description defeat
- ALT+Enter to import package, automatic correction, and other suggested modification problems can be solved
here- CTRL+ALT+L format code-
CTRL+ALT+I automatic
indent- CTRL+ALT+O Optimize imported classes and packages
- CTRL+E Recently changed code
- CTRL+P Method parameter hints
- CTRL+ALT+SPACE Class or interface name hints
- CTRL+ALT+T Put selected code in
Edit

Command Binding Description defeat
- Ctrl+Y Delete line
- Ctrl+D Copy line
- Ctrl+W Automatically select code by syntax
- Ctrl+G Jump to specified line
- Ctrl+F11 Add and remove bookmarks
- Ctrl+Shift+W Invert code selection (equivalent to Ctrl+W back)
- Ctrl+Shift+U Convert case
- Ctrl+Left/Right Move cursor to the word before/after
- Alt+ →/← Switch file
labels- Alt+↑/↓ Move cursor to previous/next
method- Alt+SHIFT+ ↑/↓ Move selected line up and down-
Alt+2 Display bookmarks and breakpoint nodes
Most commonly used Debug shortcuts

Command Binding Description defeat
- Alt+F8 After selecting the code, you can repeatedly run the selected code to view the results
- F7 Step
in - F8 Step over
- F9 Release
- Ctrl+F1 View the details of the selected variable
- Crtl+F8 Set a breakpoint on the current line
The following is unorganized Shortcuts

Shortcuts

Command Binding Description defeat
- Ctrl+Alt+Insert Create various files under the current editing file
- Alt+Enter to import packages, automatically correct
- Ctrl+Shift+N Find files
- Ctrl+Alt+O Optimize imported Classes and Packages
- Ctrl+R Replace Text
- Ctrl+F Find Text
- Ctrl+Shift+Space Auto-completion code
- Ctrl+Shift+Alt+N Find a method or variable in a class
- Ctrl+Alt+Space Class name or interface name hint
- Ctrl+Alt+ left/right Return to the last browsed position
- Ctrl+Shift+F7 select text, press key, highlight all the text, press Esc to highlight disappear.
- Ctrl+Up/Down cursor jumps to the first or last line down
- Ctrl+Shift+Up/Down code moves up/down.
- Ctrl+X Copy and delete line
- Ctrl+D Copy line
- Ctrl+/ or Ctrl+Shift+/ Comment (// or /…/)
- Ctrl+E Recently opened file
- Ctrl+H Show class diagram
- Ctrl+ Q Display the comment document
- Ctrl+W to select the code, press successively to select the code block
- Alt+F1 to find the location of the code
- Alt+1 to quickly open or hide the project panel
- Alt+Shift+C to compare the most recently modified code
- Alt+ left /right Switch code view
- Alt+Up/Down to quickly move positioning between methods
- F2 or Shift+F2 to highlight errors or warnings to quickly locate
query shortcuts

Command Binding Description defeat
- CTRL+N find class
- CTRL+SHIFT+N find file
- CTRL+SHIFT+ALT+N find method or variable in class
- CIRL+B find source of variable
- CTRL+ALT+B find all subclasses
- CTRL +SHIFT+B Find class of variable
- CTRL+G locate line
- CTRL+F Find text in current window
- CTRL+SHIFT+F Find text in specified window
- CTRL+R Replace text in current window
- CTRL+SHIFT+R in Specify Window Replacement Text
- ALT+SHIFT+C Find Modified Files
- CTRL+E Recently Opened Files
- F3 Find Down the Keyword Occurrence
- SHIFT+F3 Up the Previous Keyword Occurrence
- F4 Find Variable Source
- CTRL+ALT +F7 The selected character finds the place where the project appears
- CTRL+SHIFT+O pops up to display the search content
Other shortcuts

Command Binding Description defeat
- CIRL+ Shift + U Case switching
- CTRL+Z backward
- CTRL+SHIFT+Z forward
- CTRL +ALT+F12 Explorer Open Folder
- ALT+F1 Find the directory location where the file is located
- SHIFT+ALT+INSERT vertical edit mode-
CTRL+/ comment//
- CTRL+SHIFT+/ comment/…/
- CTRL+W to select the code, press continuously for other effects- CTRL+B to
quickly open the class or method at the cursor-
ALT+ ←/→ Switch code view
- CTRL+ALT ←/→ Return to the last edited position
- ALT+ ↑/↓ Move quickly between methods
- SHIFT+F6 Refactor - Rename
- CTRL+H Show class diagram
- CTRL +Q Show commented document
- ALT+1 Quickly open or hide project panel
- CTRL+SHIFT+UP/DOWN code move up/down.
- CTRL+UP/DOWN cursor jumps to the first or last line
- ESC cursor returns to edit box
- SHIFT+ESC cursor returns to edit box, close useless windows
- F1 help don't press, it's very stuck!
- CTRL+ F4 is very important to use after work

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326350408&siteId=291194637