1.修改背景颜色(黑/白)
File -> settings -> Editor -> Color Scheme -> General -> (Scheme选择Default或Darcula) -> OK
2.license
Help -> Register
3.JDK配置或更换
File -> Porject structure -> Project -> Porject SDK -> (New或Edit选择) -> OK
4.在项目中鼠标右键new的时候无JSP
File -> Project structure -> Modules -> Web -> Web Resource Directories -> + 选择项目 -> OK
5.编写时候,class自动导入包的引用
File -> Settings -> Editor -> General -> Auto Import ->
(Add unambiguous imports on the fly和Optimize imports on the fly 打钩) -> OK
6.IDEA项目中引入JAR包
File -> Project Structure -> Modules -> 选中项目,例如demo
-> 3个选项卡中选择 Dependencies -> + JARs or Directories
-> 选中要导入的jar -> OK
7.class文件中,String和springframework找不到
(确认jdk1.8及以上已配置,环境变量已配置)
File -> Invalidate Caches -> Invalidate and Restart
8.pom.xml中有关artifactId找不到
1).file -> settings -> 搜索maven -> always update snapshots 打钩 -> OK
2).右下角选择 import...
IDEA常用快捷键列表