如何新建项目
File → New → Project → Empty Project → next 填写项目名 → Finish



添加模块:File → New → Module → Java、Next → 填写模块名 → Finish




-------------------------------------
如何导入模块(包)
先 copy 你要导入的包,比如 day03
然后粘贴到你的项目对应的路径下,如下图

然后 File → New → Module From Existing Sources

选择你粘贴的文件,OK


这样导入的包,其路径才跟项目的路径一样


-------------------------------------
已建了项目,如何统一jdk?
第一步:File → Settings → Build, Execution, Deployment → Compiler → Java Compiler, 选择相同的版本!


第二步:File → Project Structure → Project → 选择相同的版本!


第三步:File → Project Structure → Modules → Sources → 选择相同的版本!

File → Project Structure → Modules → Dependencies → 选择相同的版本!

-------------------------------------
编码设置
一、更改当前项目的编码设置
1、点击settings

2、点击general中的File Encodings,把三处的编码都改为 utf-8 即可,点击apply即可

二、更改默认的编码设置
1.点击 New Projects Setup,选择 Settings for New Projects

2.点击general中的File Encodings,把三处的编码都改为 utf-8 即可,点击apply即可

