Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ IntelliJ IDEA common list of shortcuts     - How to enable fbcon in Debian (Linux)

- Use Vagrant build cross-platform development environment for Python (Server)

- Installation salt-minion on RHEL5 (Linux)

- Subsequent binary search tree traversal sequence (Programming)

- Installation of Gitlab under Ubuntu (Linux)

- iscsiadm command usage (Linux)

- MariaDB 10.1 and MySQL 5.7 in general performance on commodity hardware (Database)

- Ubuntu method for single-card dual-IP (Linux)

- Live Wallpaper for Linux release adds dynamic background (Linux)

- linux system optimization and security configuration (Linux)

- How to avoid two Chrome icon appears in ELementary OS Freya (Linux)

- Nagios (centreon) monitoring Linux Log (Server)

- Installation and operation GAMIT software under Linux operating system (Linux)

- systemctl Command Complete Guide (Linux)

- Install the latest Eclipse IDE in Ubuntu (Linux)

- Eclipse remove all comments and code spaces (Linux)

- shell script error dirname: invalid option - b (Database)

- LMMS 1.03 install on Ubuntu 14.04 (Linux)

- Linux, modify the fstab file system can not start causing solve one case (Linux)

- Linux Getting Started tutorial: Experience QEMU virtual machine articles (Linux)

 
         
  IntelliJ IDEA common list of shortcuts
     
  Add Date : 2018-11-21      
         
         
         
  IntelliJ Idea commonly used shortcuts list

Alt + Enter to import the package, automatic correction
Ctrl + N find classes
Ctrl + Shift + N Find File
Ctrl + Alt + L formatting code
Ctrl + Alt + O optimization to import classes and packages
Alt + Insert generated code (such as get, set methods, constructors, etc.)
Code Ctrl + E or Alt + Shift + C Recent changes
Ctrl + R Replace Text
Ctrl + F Find text
Ctrl + Shift + Space auto-completion of code
Ctrl + Space code hints
Ctrl + Alt + Space class or interface name prompt
Ctrl + P method parameter tips
Ctrl + Shift + Alt + N to find class method or variable
Alt + Shift + C contrast recently modified code
 
Shift + F6 Reconstruction - Rename
Ctrl + Shift + key on the first
Ctrl + X Delete Row
Ctrl + D to copy the line
Ctrl + / or Ctrl + Shift + / comment (// or /*...*/)
Ctrl + J Auto Code
Ctrl + E recently opened files
Ctrl + H to display the class structure diagram
Ctrl + Q annotate documents show
Alt + F1 lookup code location
Alt + 1 project quickly open or hidden panel
Ctrl + Alt + left / right back to the last viewed location
Alt + left / right to switch the code view
Alt + Up / Down between mobile positioning method is rapid
Ctrl + Shift + Up / Down Code up / down movement.
F2 or Shift + F2 to highlight quickly locate errors or warnings
 
After the code label is entered, press Tab, to generate code.
Select the text, press Ctrl + Shift + F7, highlight all the text, press Esc to highlight disappears.
Ctrl + W to select the code, there will be other effects of continuous press
Select the text, press Alt + F3, one by one down to find the same text, and highlight.
Ctrl + Up / Down cursor jump to the first or last row
Ctrl + B to quickly open a class or method at the cursor


The most commonly used shortcuts
1.Ctrl + E, you can display a list of recently edited files
2.Shift + Click can close the file
3.Ctrl + can skip braces beginning of the end [or]
4.Ctrl + Shift + Backspace to jump to the last place editing
5.Ctrl + F12, you can display the structure of the current file
6.Ctrl + F7 to query the current element referenced in the current file, then press F3 to choose
7.Ctrl + N, you can quickly open class
8.Ctrl + Shift + N, you can quickly open the file
9.Alt + Q you can see the current method statement
10.Ctrl + W can select a word and then turn the function statement followed by row
11.Alt + F1 can be edited element being positioned in each of panel
12.Ctrl + P, the parameter information may be displayed
13.Ctrl + Shift + Insert can select and insert the clipboard contents
14.Alt + Insert can generate the constructor / Getter / Setter, etc.
15.Ctrl + Alt + V can introduce variables. For example, the SQL brackets assigned to a variable
16.Ctrl + Alt + T can be wrapped in a piece of code within, for example, try / catch
17.Alt + Up and Alt + Down to quickly move between methods
The following is not useful
18. In some places you can press Alt + Enter to get some Intention Action, for example, "==" to "equals ()"
19.Ctrl + Shift + Alt + N can quickly open symbol
20.Ctrl + Shift + Space in many cases are able to give Smart Tips
21.Alt + F3 can quickly find
22.Ctrl + / and Ctrl + Shift + / can annotate the code
23.Ctrl + Alt + B to jump to implement abstract methods
24.Ctrl + O can choose to overwrite the parent class's method
25.Ctrl + Q can look JavaDoc
26.Ctrl + Alt + Space is the class name automatically
27. Quick open class / files / symbols, you can use wildcards, you can also use the abbreviation
28.Live Templates! Ctrl + J
29.Ctrl + Shift + F7 can highlight the current element in the current file
30.Ctrl + Alt + Up / Ctrl + Alt + Down Search results can quickly jump
31.Ctrl + Shift + J to integrate the two lines
32.Alt + F8 is calculated variable value

IntelliJ IDEA Skills List

Using InelliJ IDEA process, by looking for information, and some of his own and has found that many Java programmers favorite IDE, there are many noteworthy tips, if you can apply them to skilled the actual development process, I believe that it will save you development time and the attendant will have a little bit of a sense of accomplishment :) Try it!

1, with Alt-Insert (Code | Generate ...) when writing code can create getter and setter methods inside the class in any field.


2. Right-click on the breakpoint marker (in the left column of text) to activate Quick menu, you can quickly set enable / disable breakpoint condition or its properties.

3, CodeCompletion (code completion) property in a special variable is activated Ctrl-Alt-Space can be done with or without the class name of the current file. If the class does not mark the introduction of the import will be automatically created.

4, use Ctrl-Shift-V shortcuts to recently used to select the contents of the clipboard into the text. When using the system will pop up a dialog box containing clippings from which you can choose what you want to paste the section.

5, use CodeCompletion (code completion) property to quickly complete a variety of differently statements in the code by first typing a class name to the first few letters and then use Ctrl-Space to complete the full name. If there are multiple options, they are listed in the quick reference list.

6, with Ctrl- / and Ctrl-Shift- / to comment / uncomment lines of code and code blocks.
- / Single-line comment marker ( "// ...") to comment / uncomment the current line or blocks of code selectively. The Ctrl-Shift- / can ( "/ * ... * /") to enclose the selected block block comment markers. To comment a block of code on anti-block anywhere in press Ctrl-Shift- / can.

7, press Alt-Q (View | Context Info) may need to move the code will be able to view the current method stated. Press twice in a row will show the currently edited class name.

8, using Refactor | Copy Class ... can create a "copy" of a selected class. This is useful, for example, you want to create a majority of the existing content and the same type of classes.

9, in the editor Ctrl-D to copy the selected block or no block is currently selected row.

10, Ctrl-W (selected word) function in the editor caret is the first choice at the word and select the extended area of ​​the source code. For example, first select a method name, and then call this method of expression, then the entire statement, then block inclusion, and so on.

11, if you do not want the details of the incident indicates "light ball" icon on the editor display by pressing Alt-Enter key combination to open a list of all the events and then use the mouse to click on it to this event text attachments bright ball set to non active.
After this there will be special events indicating the emergence of bright ball, but you can still use the Alt-Enter shortcut key to use it.

12, when using CodeCompletion, you can use the characters comma, comma (,) semicolon (.) (;), Spaces, and other characters enter the pop-up list of the currently highlighted part. Select the character's name will be entered automatically as the input to the editor.

13, using the Escape key tool in any window can be moved to focus on the editor.
Shift-Escape not only to move the focus to the editor and can also hide the current (or last active) tool window.
F12 key to move the focus from the editor window tool used most recently.

14, view any expression values ​​when the debugger is an easy way to select text in the editor (can be more effectively perform this operation by several key combination Ctrl-W) and then press Alt-F8.

15, to open the editor caret class or method used at the Java documentation browser, just press Shift-F1 (External right-click menu JavaDoc).
To use this feature requires the browser to join the path settings (Options | IDE Settings) In the "General" options, while also to create Java documentation added to the project (File | Project Properties).

16, with Ctrl-F12 (View | File Structure Popup) button you can quickly navigate through the file currently edited. Then it will display a list of members of the current class. To select a navigation element, and then press the Enter key or the F4 key. To easily locate an entry to the list, you can just type its name.

17, in the code of the cursor on the tag or its checkpoints and press Alt-F7 (right-click menu in the Find Usages ...) you will soon find a way to use a class in the whole project, the method or variable s position.

18, press Ctrl-N (Go to | Class ...) and then type the name of the class can quickly open any class in the editor. Select the class from the drop-down list displayed.
The same way you can use Ctrl-Shift-N (Go to | File ...) to open the project in a non-Java files.

19. To navigate using the code in some places to the class, method or variable declaration, put the cursor on the item to view and press Ctrl-B can be. You can also press the Ctrl key and click on the view point of the mouse button to adjust the statement at.

20, put the cursor on the view point and press Ctrl-Alt-B can navigate to a realization of the code abstract methods.

21 inheritance hierarchy, depending on a selected class, press Ctrl-H (Browse Type Hierarchy) can be. You can also activate inheritance Editor view to check the current editing class inheritance. 22, use Ctrl-Shift-F7 (Search | Highlight Usages in File) can quickly highlight in particular the use of local variables in the current file. Press Escape to clear the highlight.

23, with Alt-F3 (Search | Incremental Search) realized in the editor to quickly find the search function.
In the "Search for:" prompt, enter tool character, use the arrow keys forward and backward search. Press Escape to exit.

24, press Ctrl-J key combination to perform some of you remember the Live Template abbreviations. For example, the key "it" and then press Ctrl-J to see what happens.

25, Introduce Variable integration help you simplify complex code statement. For example, the following code fragment, select an expression in your code: and press Ctrl-Alt-V.

26, Ctrl-Shift-J shortcut to two lines into one and to remove unnecessary spaces to match the format of your code.

27, Ctrl-Shift-Backspace (Go to | Last Edit Location) lets you tune to the last place the code changes done.
And several times Ctrl-Shift-Backspace to view a deeper revision of history.

28, with the Tools | Reformat Code ... depending on your coding style reference (See Options | IDE Setting | Code Style) formatting code.
Use Tools | Optimize Imports ... can set (See Options | IDE Setting | Code Style | Imports) automatic "optimization" imports (remove unwanted imports, etc.).

29, using IDEA's Live Templates | Live Templates allow you to create a number of typical code in blink of an eye. For example, in a method in typing. Press the Tab key to see what happened.
Move in a different domain template using the Tab key. See Options | Live Templates for more details.

30. To view a file to modify local history, activate the context menu in the Local VCS | Show History .... Maybe you can navigate different file versions, they look different from any return to a previous version of the roll bar. Using the same context menu entry can also see a directory modification history. With this feature you will not lose any code.

31, if you want to understand the purpose of each main menu item, move the mouse pointer to the bottom of the menu entry and then the application framework of the status bar will display a brief description of some of them, you may find helpful.

32, to display the divider between methods in the editor, open the Options | IDE Settings | Editor, select the "Show method separators" check box (checkbox).

33, with the Alt-Up and Alt-Down keys to quickly move between editors in different ways.

34, with F2 / Shift-F2 key to jump between syntax error highlighting. With Ctrl-Alt-Down / Ctrl-Alt-Up shortcut keys, you can find the room or the operating results from the jump compiler error message.

35, by pressing Ctrl-O (Code | Override Methods ...) can easily be overloaded base class methods. To complete the current class implements (or abstract base class) interface methods, use Ctrl-I (Code | Implement Methods ...).

36, if the cursor is placed between brackets a method call, press Ctrl-P will display a list of parameters available.

37. To quickly see Editor de character class or method used at the Java documentation, press Ctrl-Q (in the pop-up menu in the Show Quick JavaDoc) can.

38, like Ctrl-Q (Show Quick JavaDoc displays simple Java documentation), Ctrl-P (Show Parameter Info display parameter information), Ctrl-B (Go to Declaration jump to declaration), Shift-F1 (External JavaDoc external Java documentation ) as well as some other shortcuts in the editor can not only use, but also can be applied in the right code completion list.

39, Ctrl-E (View | Recent Files) pop right list of recently accessed files. Press Enter to open the selected file.

40, in the IDEA can easily to your classes, methods, variables, and rename and automatically corrects them to use in all places. Try, the editor caret is placed on any one variable name and then press Shift-F6 (Refactor | Rename ...). In the dialog box, type the new name you want to display and press Enter. You will use this variable to navigate to all the places then press "Do Refactor" button to complete the rename operation.

41, to quickly select the current edit a part (class, file, method, or field) in any view (Project View Project View, Structure View Structure View or other views) inside, press Alt-F1 (View | Select in ...).

You might use this feature 42 SmartType code completion, after the "new" character instantiate an object of known type. For example, type and press Ctrl-Shift-Space:

43, by using SmartType code completion, create an anonymous implementation throughout the interface in IDEA is also very easy, for example, for some listener (listeners), you can type
Component component;
component.addMouseListener (
  new
);

Then press Ctrl-Shift-Space to see what happened.

44, you need to set the value of a known type of an expression used SmartType code completion is also helpful. For example, type
String s = (
Press Ctrl-Shift-Space to see what appears.

45, in view of all it provides Quick Function: Just type the characters in the tree can quickly navigate to an entry.

46, when you want to use code snippets catch exception, in the editor to select the piece, press Ctrl-Alt-T (Code | Surround with ...) and then select the "try / catch". It automatically generates all the code snippet exception catch block thrown. In the Options | File Templates | Code tab you can also generate your own custom template captured block. With a list of other items you can be surrounded by some of the other structures.

47, in the use of the code is complete, use the Tab key to enter the pop-up list in the highlighted section. Unlike with the Enter key to accept the input of the selected name will overwrite other parts of the caret to the right of the name. This method of using a variable name or replace another especially useful.

48, when you declare a variable code completion feature will give you a suggestion display name. For example, start typing "private FileOutputStream" and then press Ctrl-Space in Options | IDE Setting | Code Style may also think that local variables, parameters, and examples of static fields to customize name.
     
         
         
         
  More:      
 
- RedHat Performance Tuning (Server)
- A deep understanding of Java enum (Programming)
- MySQL completely uninstall and install Configuring Character Sets under Linux (Database)
- Hadoop 2.6.0 stand-alone / pseudo-distributed installation (Server)
- Vim useful plugin: vundle (Linux)
- Examples 14 grep command (Linux)
- CentOS 6.0 system security level (Linux)
- Processor in protected mode of protection (Linux)
- sed and awk in shell usage and some examples (Linux)
- Add local search to your Android app (Programming)
- Solaris 10 installation configuration mrtg monitoring system (Linux)
- Ubuntu / Fedora / CentOS system how to install Plex Media Server 0.9.9 (Linux)
- Batch kill processes using awk command (Linux)
- Linux operation and maintenance of the actual file system, file links (Linux)
- Linux Security and Optimization (Linux)
- The method of CentOS-7.0. The installation and configuration of Tomcat-7 (Server)
- error no.2013 lost connection Tom with SQLServer during query (Database)
- Ubuntu 14.10 / 14.04 / 12.04 How to install Kodi 14.0 RC3 (Linux)
- Linux + Apache + PHP + Oracle based environment to build (Server)
- ctop: monitor container performance Linux command line artifact (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.