一、文件头设置
/**
* @Description:
* @Author: CHENJINGTANG
* @Date: ${DATA} ${TIME}
*/
![](https://cxiaoyu.cn/wp-content/uploads/2022/05/image-9-1024x740.png)
二、实时模板设置
1、创建模板组
![](https://cxiaoyu.cn/wp-content/uploads/2022/05/image-1-1024x676.png)
2、创建实时模板(输入缩写,按 Tab 键)
/**
* @Description: $Description$
* @Author: CHENJINGTANG
* @Date: $Date$ $Time$
*/
![](https://cxiaoyu.cn/wp-content/uploads/2022/05/image-7-1024x740.png)
/**
* @Description: $Description$
* @Author: CHENJINGTANG
* @Date: $Date$ $Time$
* $Param$
* @Return $Return$
*/
groovyScript("def result=''; def params=\"${_1}\".replaceAll('[\\\\[|\\\\]|\\\\s]', '').split(',').toList(); for(i = 0; i < params.size(); i++) {if(params[i] == '') return result;if(i==0) result += '\\n'; result+=' * @Param ' + params[i] + ((i < params.size() - 1) ? '\\n' : '')}; return result", methodParameters())
![](https://cxiaoyu.cn/wp-content/uploads/2022/05/image-8-1024x740.png)
三、配置 Maven
![](https://cxiaoyu.cn/wp-content/uploads/2022/05/image-10-1024x740.png)
![](https://cxiaoyu.cn/wp-content/uploads/2022/05/image-16-1024x740.png)
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
<localRepository>D:\MavenData</localRepository>
<pluginGroups>
</pluginGroups>
<proxies>
</proxies>
<servers>
</servers>
<mirrors>
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
<!-- 中央仓库1 -->
<mirror>
<id>repo1</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://repo1.maven.org/maven2/</url>
</mirror>
<!-- 中央仓库2 -->
<mirror>
<id>repo2</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://repo2.maven.org/maven2/</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>JDK-1.8</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.8</jdk>
</activation>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
</properties>
</profile>
</profiles>
</settings>
四、配置版本控制
1、Svn
![](https://cxiaoyu.cn/wp-content/uploads/2022/05/image-11-1024x740.png)
2、Git
![](https://cxiaoyu.cn/wp-content/uploads/2022/05/image-15-1024x740.png)
3、GitHub
![](https://cxiaoyu.cn/wp-content/uploads/2022/05/image-13-1024x740.png)
五、SSH 配置
![](https://cxiaoyu.cn/wp-content/uploads/2022/05/image-17-1024x740.png)
六、安装插件
1、Copilot
提高GitHub的访问速度:
打开文件 C:\Windows\System32\drivers\etc\hosts 尾部追加:
140.82.114.4 github.com
199.232.5.194 github.global.ssl.fastly.net
打开 CMD 执行命令 ipconfig /flushdns
![](https://cxiaoyu.cn/wp-content/uploads/2022/05/image-18-1024x552.png)
![](https://cxiaoyu.cn/wp-content/uploads/2022/05/image-20-1024x552.png)
![](https://cxiaoyu.cn/wp-content/uploads/2022/05/image-21-1024x495.png)
- 打赏
请选择打赏方式
![](https://cxiaoyu.cn/wp-content/plugins/wzbaibaoxiang/images/wzt_chahao.png)
![](https://cxiaoyu.cn/wp-content/uploads/2023/06/微信二维码20230606.jpg)
![](https://cxiaoyu.cn/wp-content/uploads/2021/12/QQ二维码.png)
- 微信
- 支付宝