IDEA software settings Settings page
Settings are configured for the software itself, some properties, such as font theme background image plug-ins.
How to open the Settings page
Detailed structure of the Settings page
structure
Appearance & Behavior appearance and behavior
Keymap shortcuts
Editor Editor Settings
Plugins plugins
Version Control Version Control
Build, Execution, Deployment build, execute, deploy
Languages & Frameworks languages and frameworks
Tools toolset
IDEA common set of 26
Most of the settings are contained schematic effect, the structure of the article: Setting method - Drawing> Effects
Appearance & Behavior appearance and behavior
Set Theme
Currently I have two sets of IDEA theme: Darcula, IntelliJ.
Darcula is the mysterious black theme, I prefer black
IntelliJ white theme
Set menu font
Keymap shortcuts
Eclipse is set to shortcut keys
If it is difficult to forget their keys can be used to Eclipse, I do not recommend this operation, feeling awkward.
Modify keyboard shortcuts
Do the changes once a large number of keyboard shortcuts
Add keyboard Shortcut to add keyboard shortcuts to actually modify the current key position
Add Mouse Shortcut increase mouse shortcut
Add Abbreviation
Remove Ctrl + Alt + Shift + S to remove the shortcut
View function shortcuts
Find function keys through keyboard shortcuts, such as: Ctrl + F you do not know what is meant by this function can be searched
Editor Editor Settings
Set Editor can say is to set the highest frequency of use, and the editor of the font, automatic guided package, comment generation, and so what is the Editor Editor it? It is to write the code area
Editor-General
Setting the mouse wheel to scroll Change font size
After successfully set, the code can be adjusted to achieve the font size by a roller Ctrl +
Set Hover tips
Hover is a very useful feature, the effect is as follows
Set automatic guided package
Add unambiguous imports on the fly: automatic import unclear structure
Optimize imports on the fly: automatically help us optimize the imported package
Set the display line number between the separator and method
Results are as follows
Ignore case Tips
Ctrl + Alt + S is provided to open the screen (or from the menu File - coming settings)
In the search box input Completion Code Completion targeting function item
Select All letters on the right configuration interface
In the right side of the configuration interface (matching case) in front of the Match case √ removed,
IntelliJ IDEA code tips and added functionality has a feature: case sensitive. Note icons shown above, the default First letter is case-sensitive.
Case-sensitive situation is this: For example, we enter the Java code file stringBuffer, IntelliJ IDEA default is not going to help us prompt or supplement the code, but if we can enter StringBuffer code hints and supplements.
Single-line display setting cancellation operation tab (Tabs) of
What is a single-line display
How to set up multiple lines?
Results are as follows
Editor-Font
Modify the current theme font code editing area
Default font, font size, font line spacing, may be provided separately
Editor-Color Scheme
Modify the font of the current theme console output
Modify the code in the comment font color
Editor-Code Style
Set exceeds a specified number of import, read *
Editor-File and Code Template
Documentation comments to modify class header information
Results are as follows
Editor – File Encodings
Set the project file encoding
Transparent native-to-ascii conversion is mainly used to convert ascii, are generally required to check, or Properties to display the comments in the file will not be Chinese.
Set the encoding of the current source file
Encode a single file modifications can also click on the lower right corner of the encoding settings. If the code content that contains Chinese, as will pop operation selection. among them:
Reload new code represents the use reloaded, the new code will not be saved to a file, reopen the file, the old code is still what or what.
Convert expressed using the new coding conversion, the new code will be saved to a file, reopen the file, the new code is what is yes.
Code file containing the Chinese, the Chinese will become possible after Convert garbled, so please make a backup converted into, or the conversion process may appear garbled, can not be restored.
Build、Execution、Deployment
Set automatic compilation
other
Setting the power saving mode
After shown above, there is something called IntelliJ IDEA of power saving mode, this mode is turned on will turn off IntelliJ IDEA check codes and code tips and other functions. It is generally considered that this is a read mode, if you experience a sudden code file in the development process can not be checked and tips, you can see if there are open the function.
Split-screen display setup code
Results are as follows
You can also add split-screen shortcut
Set background
Double-click the shift occurs in the search box, enter the idea: Set Background Image Click the Set Background Image
2. Select the picture you want to add a path, set the transparency, click OK you can see the effect of
Results are as follows
IDEA structure of the current project settings Project Structure
Project is arranged on the current structure configuration module, only the effect on the current module, e.g. Jar package, the package structure, the source folder, output path, and the item dependent build information.
How to Open Project Structure page
Project Structure Page Structure explain
project
image.png
Modules
You can view each sub-module information
Artifacts
IDEA belt package configuration, sometimes playing with IDEA package in question, deployed to Tomcat, not up and running, it can then pack again.
Facets
Information about the current project configuration files
IDEA modify the default settings
to sum up
Author: Java deer teacher's notes link: https: //juejin.im/post/5e4d33abe51d4526f76eb2d3 Source: Nuggets copyright reserved by the authors. Commercial reprint please contact the author authorized, non-commercial reprint please indicate the source.