IntelliJ IDEA sets the code prompt or auto-completion shortcut key function, intellijidea
For Java developers in China, Eclipse may be the most widely used.
There are also a lot of programmers who use Idea, and everyone is advocating its advantages.
If you try it for half a month, you may feel different. The key is to check your proficiency and configuration.
Auto-Prompt shortcut key
Sometimes I want to use auto-completion, because a programmer who is not lazy is not a good programmer. However, the default shortcut for Idea is Ctrl + space. For ordinary people who install the Chinese input method, It's just a cup, you know.
The modification method is as follows:
Choose File> Settings... Ctrl + Alt + S),-> open the Setting dialog box.
In the left-side Navigation Pane, click KeyMap.
Choose Main menu> Code> Completion in the tree on the right.
Next we need to do two things:
1. Remove the Alt +/(forward slash) Shortcut Key Binding of the original Cycle Expand Word.
2. Right-click Basic, remove the original Ctrl + space binding, and then add the Alt + slash shortcut.
Then Apply, OK.
If this key combination has been used, you can directly use it when a conflict is prompted.
Replace All)
The global replacement of Idea is called "Replace in path". in the Project view, right-click the directory to be searched and select "Replace in path…" in the pop-up menu ...", Enter relevant information in the pop-up box, as shown in:
Replace_all
The shortcut key is modified as follows:
Choose File> Settings... Ctrl + Alt + S),-> open the Setting dialog box.
In the left-side Navigation Pane, click KeyMap.
The default Idea shortcut key cannot be modified. Select the Keymaps above, such as Eclipse, and copy it.
Search for replace in the upper right corner and find Replace in path... This line:
Path is (Main Manu-Edit-Find-Replace in path ...)
Right-click this line and add a shortcut key, for example, Ctrl + Shift + F.
Then Apply, OK.
If this key combination has been used, you can directly use it when a conflict is prompted.
Summary
The preceding section describes how to set the code prompt or automatically complete the shortcut key function of IntelliJ IDEA. I hope it will help you. If you have any questions, please leave a message, the editor will reply to you in a timely manner. Thank you very much for your support for the help House website!