插件
新版本idea配置
快捷键
- 自动生成返回值
ctrl+alt+v
- 生成getter、setter、构造函数
alt+ins
保存自动格式化代码
spring-boot 自动重启
- 添加依赖
spring-boot-devtools
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<!--防止将依赖传递到其他模块当中-->
<optional>true</optional>
<!--只在运行时起作用,打包时不打进去(防止线上执行打包后的程序,启动文件监听线程File Watcher,耗费大量的内存资源)-->
<scope>runtime</scope>
</dependency>
ctrl+shift+F失效
- 和windows10系统自带的输入法【繁/简切换】快捷键冲突,关闭就可以
- 和搜狗输入法【繁/简切换】快捷键冲突,关闭
文章评论