IDEA安装后的配置

IDEA 安装后基础配置

IDEA 官方插件:http://plugins.jetbrains.com/


Setting


  1. Appearance&Behavior——>System Settings——>不要勾选Reopen projects on startup
  2. Appearance&Behavior——>System Settings——>When closing a tool window with a running process选择 Terminate process;
  3. Appearance&Behavior——>Path Variables——>设置MAVEN_REPOSITORY为自己本地的maven仓库地址;
  4. Editor——>General——>Console——>设置Default Encoding为UTF-8;
  5. Editor——>Inspections——>搜索 Serializable,选中 Serializable class without ‘serialVersionUID’
  6. Editor——>File and Code Templates——>Includes——>File Header添加如下内容
/**
 * @author SIMBA1949
 * @date ${DATE} ${TIME}
 */


  1. Editor——>File Encodings——>字符编码都设置成 UTF-8
  2. Version Control——>Git(默认配置,需要安装Git)
  3. Version Control——>GitHub(默认配置,需要登录)
  4. Build,Execution,Deployment——>Build Tools ——>Maven(1.配置User settings file, 2.配置 Local repository)
  5. Build,Execution,Deployment——>Compiler(1. 勾选Build project automatically;2. Ctrl + Shift + Alt + /,搜索 registry,勾选compiler.automake.allow.when.app.running;3. 重启 IDEA)
  6. Build,Execution,Deployment——>Remote Jar Repositories——>添加国内镜像地址,例如阿里云镜像地址:https://maven.aliyun.com/repository/public
  7. Languages & Frameworks——>Spring——>勾选Common下的 Allow to auto-configure application contexts;
  8. Tools——>Web Browsers——> 只选择 Chrome
  9. Plugins
Lombok
Alibaba Java Coding Guidelines
Spring Assistant
Free Mybatis plugin
QAPlug 和 QAPlug - PMD
Leetcode Editor
Gitee


Other Settings

Structure for New Projects

Project:设置 JDK 版本,和编译级别,设置 JDK 8 , SDK 为 8 或者默认


上一篇:MyBatis逆向工程


下一篇:C#代码实现A鉴权的方法