IntelliJ IDEA2021.1 配置大全(超详细教程)
一、idea下载
idea、jdk、tomcat、maven下载地址请参考上一篇博客:https://blog.csdn.net/dwz735660836/article/details/115485354?spm=1001.2014.3001.5502
软件jihuo:无限重置试用持续
二、idea基本配置
file -> settings
1.设置主题
file -> settings... -> appearance & behavior -> appearance -> theme下拉选择主题
2.关闭idea自动更新
file -> settings... -> appearance & behavior -> system settings -> updates -> check ide updates for 前面去掉对勾
3.隐藏.idea文件和.iml等文件
file -> settings... -> editor -> file types -> ignored files and folders -> + -> *.idea,*.iml
4.修改编写代码的字体和大小
file -> settings... -> editor -> font -> 设置字体font 和 大小size
5.修改项目文件等编码
file -> settings... -> editor -> file encodings -> 3处位置全部设为[utf-8] -> transparent native-to-ascii conversion前面对勾打上
6.设置代码提示忽略大小写
file -> settings... -> editor -> code completion -> match case前面把对勾去掉
7.设置自动导包
file -> settings... -> editor -> general -> auto import -> insert imports on paste选择always -> 2个对勾打上
8.生成serialversuinuid
file -> settings... -> editor -> inspections -> java -> serialization issues -> serializable class without 'serialversionuid' 后面加上对勾
将光标放到类名上按atl+enter键就会提示生成serialversionuid了。
9.设置一个tab为4个空格键
file -> settings... -> editor -> use tab character前面取消勾
10.导入导出配置
file -> mange ide settings
11.在欢迎界面导入配置
二、idea添加jdk流程
欢迎界面点击:projects -> new project,在弹出的窗口中选择project sdk -> add jdk…
三、idea添加tomcat流程
四、idea添加maven流程
file -> settings... ->build,execution,deployment -> build tools -> maven
到此这篇关于intellij idea2021.1 配置大全(超详细教程)的文章就介绍到这了,更多相关idea2021.1 配置内容请搜索以前的文章或继续浏览下面的相关文章希望大家以后多多支持!