1. Maven configuration
Generally, we use IDEA's default maven configuration. It uses a foreign server, so downloading the jar package will be very slow, so we need to set it to the domestic maven configuration. Generally, we use Alibaba Cloud servers. Need to be modified in the settting.xml of the original maven configuration
<--
<mirror>
<id>mirrorId</id>
<mirrorOf>repositoryId</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://my.repository.com/repo/path</url>
</mirror>
-->
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
2. Expand the package package
When we create a project package, there is usually a com package, but there are multiple sub-packages under com. At this time, the first time you create a package, you will find it troublesome. You can modify the settings and
remove this √.
3. Author comments when adding classes
After File—>setting, find the setting of the picture below and
add it on the right
/**
* @author 龙小虬
* @date ${DATE} ${TIME}
*
*/
4. Delete the useless import package
File—>setting and find the settings in the picture below
After modifying the default configuration
File—>setting, find the settings in the picture below, remove the selection, and close IDEA.
Follow the picture below, enter the settings, the configuration inside is the default configuration, modify and apply