首页 > 杂文归档 正文
IntelliJ IDEA2021.1 配置大全(超详细教程)

 2021-04-18 12:40:23      

一、IDEA下载
idea、jdk、tomcat、maven下载地址请参考上一篇博客:https:https://blog.csdn.net/DwZ735660836/article/details/115485354?spm=1001.2014.3001.5502

一、IDEA下载

idea、jdk、tomcat、maven下载地址请参考上一篇博客:https:https://blog.csdn.net/DwZ735660836/article/details/115485354?spm=1001.2014.3001.5502

软件jihuo:无限重置试用持续

https:https://www.jb51.net/article/198343.htm

二、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

原文链接:http://www.yuepc.com/a/16392.html

http://www.yuepc.com 为 “沈一博客” 唯一官方服务平台,请勿相信其他任何渠道。

  •  标签:  
  相关文章
  • 评论列表

发表评论: