Window commonly used shortcuts in the Intellij idea development

The idea of ​​the following shortcut is confirmed in the window 7, if shortcuts do not work, the shortcut key may be occupied by other software, or result in different systems.

1, Ctrl + Z: Code withdrawn;

2, Ctrl + Shift + Z: recovery code withdrawn;

3, Ctrl + F: Find a variable name in a class file;

4, Ctrl + D: Copy the current line to the next line;

5, Ctrl + Y: delete the current line of code;

6, Ctrl + N: Find engineering class; Ctrl + Shift + N: Find project in Central Africa Java files;

7, Ctrl + Shift + F / R: search for files in the project (write your own); Double-click Shift: search all types of documents the project, including the jar package referenced;

8, Alt + Insert: getter and setter methods to create the field in the class;

9, Shift + F6: select the directory structure of the file is renamed;

10, Alt + F1: Back to the directory structure of the current file;

11, Ctrl + E: recently opened files;

12, Ctrl + P: Tips method parameters;

13, Ctrl + Alt + F12: enter the disk location of the current file;

14, Ctrl + Shift + C: Copy the current disk file path to the clipboard;

15, Ctrl + O: override method;

16, Ctrl + I: Implementation;

17, Ctrl + R: current file variable substitution;

18, Ctrl + Shift + L: format code;

19, Ctrl + Shift + F12: code display window is maximized, click again to restitution;

20, Ctrl + Alt + B (or left direction key, or a mouse button): enter the interface implementation class or function;

21, Ctrl + Shift + U: switch case;

22, Ctrl + Shift + Enter: add a semicolon to the end of the current line of code;

23, Alt + 7: which means there is a class view;

24, Ctrl + Alt + F7: see the definition of a variable is called and where;

25, Ctrl + H: View the current class inheritance tree;

26, itar: array for generating a code block;

27, iter: generating an enhanced for;

28, itli: generating List traversal;

29, itit: generating iterator iteration;

30, Ctrl + Alt + T: some common methods (conditions, loops, try-catch, etc.);

31, psvm: fast write mian function;

32, sout: System.out.println fast write output print ();

 

Temporarily write these, coupled with easy to use back into the encounter, if God had nice big common also noted that adding small series, thank you!

 

Guess you like

Origin www.cnblogs.com/self-study/p/11692684.html