IDEA常见设置与插件

idea设置打开多个文件显示在多行tab上
File --> Settings

插件,用来从mapper接口向对应xml导航
file-->settings--->plugin-->free mybatis plugin

定位正在打开的文件

列编辑

设置不打开上次的项目
File --> Settings --> Appearance & Behavior --> System Settings --> Reopen last project on startup
将前面的勾选取消

IDEA右侧工具栏找不到,包括maven或其他
设置:

仅查看

项目显示树形结构:

maven,gradle本地仓库位置
gradle:
配置系统环境变量GRADLE_USER_HOME即可,值为缓存位置。

maven:
修改settings文件:maven的home路径下的conf文件夹下的settings.xml

对于有些IDEA,还需要配置。
File --> other Settings --> default Settings

[IDEA搭建Springboot项目时报错jdk的问题]

装了jdk并且配置了JAVA_HOME 与path还报错
No Java SDK of appropriate version found. In addition to the IntelliJ Platform Plugin SDK, you need to define a JDK with the same Java version (JDK_1_8, description: 1.8).

选择本地jdk

猜你喜欢

转载自www.cnblogs.com/caozz/p/ideaconfig.html
今日推荐