- 1. 插件安装
- 2. 全局配置
- 2.1 先安装插件,对应上方插件列表,按需安装
- 2.2 引入Live templates,公司都会有自己的模板,所以无需配置直接引入就行
- 2.3 选择颜色主题和快捷键,根据自己的习惯选择
- 2.4 进入全局配置”All Settings…”
- 2.5 修改字体和字号,根据自己的习惯选择
- 2.6 顺便看一下刚刚导入的Live templates是否导入成功
- 2.7 给项目定义Copyright,最好在每个类的package名上放都加上Copyright
- 2.8 配置版本控制工具,点击右上角Test测试Git是否可用
- 2.9 项目管理工具Maven配置,Maven替换为团队使用版本,如果项目需要使用公司内部私服,一定要勾选”Always update snapshots”
- 2.10 如果项目复杂度高,本地调试时报内存溢出错误,需要调整”Shared build process heap size (Mbytes)”,默认是700,这里我调成了1200
- 2.11 开启插件google-java-format,勾选”Enable google-java-format”
1. 插件安装
.ignore
描述:使用Git提交代码时,忽略部分文件或文件夹
插件链接:https://plugins.jetbrains.com/plugin/7495—ignore
Alibaba Java Coding Guidelines
描述:阿里巴巴Java开发规约
插件链接:https://plugins.jetbrains.com/plugin/10046-alibaba-java-coding-guidelines
google-java-format
描述:谷歌Java代码格式化
插件链接:https://plugins.jetbrains.com/plugin/8527-google-java-format
Material Theme UI Lite
描述:Material Theme UI Plugin的轻量级版本,只包含主题
插件链接:https://plugins.jetbrains.com/plugin/12124-material-theme-ui-lite
Atom Material Icons
描述:Custom File and IDE Icons for improved visual grepping.
插件链接:https://plugins.jetbrains.com/plugin/10044-atom-material-icons
Vuesion Theme
描述:Vuesion theme and color scheme for IntelliJ®, Webstorm® and other Jetbrains® IDEs.
插件链接:https://plugins.jetbrains.com/plugin/12226-vuesion-theme
File Expander
描述:This plugin can explore archive-based file in project view. Browse archive-based file in Intellij project view.
插件链接:https://plugins.jetbrains.com/plugin/11940-file-expander
GitToolBox
描述:Status display, auto fetch, inline blame annotation, commit dialog completion, behind notifications and more.
插件链接:https://plugins.jetbrains.com/plugin/7499-gittoolbox
arthas idea
描述:Arthas helps developers in trouble-shooting issues in production environment for Java based applications without modifying code or restarting servers.
插件链接:https://plugins.jetbrains.com/plugin/13581-arthas-idea
Search In Repository
描述:The plugin provides a query tool to search Maven or NPM dependencies info in the IDE.
插件链接:https://plugins.jetbrains.com/plugin/16427-search-in-repository
VisualGC
描述:Visual Garbage Collection Monitoring Tool for Hotspot JVM.
插件链接:https://plugins.jetbrains.com/plugin/14557-visualgc
Maven Helper
描述:Maven工具,可查看Maven依赖,便于排除冲突引用
插件链接:https://plugins.jetbrains.com/plugin/7179-maven-helper
MyBatisX
描述:非必选,按需选择。MyBatis-Plus的增强插件
插件链接:https://plugins.jetbrains.com/plugin/10119-mybatisx
Rainbow Brackets
描述:非必选,按需选择。彩虹括号,插件如其名
插件链接:https://plugins.jetbrains.com/plugin/10080-rainbow-brackets
spring-assistant-@valueToYml
描述:非必选,按需选择。IDEA社区版,Spring支持插件
插件链接:https://plugins.jetbrains.com/plugin/15574-spring-assistant-valuetoyml
Smart Tomcat
描述:非必选,按需选择。IDEA社区版,Tomcat支持插件
插件链接:https://plugins.jetbrains.com/plugin/9492-smart-tomcat