开启 idea 自动 build 功能(热部署)

字体大小: 中小 标准 ->行高大小: 标准

一、开启 idea 自动 build 功能

1、打开设置 --> 查找 build project automatically --> 选中

 

 

2、打开设置 --> 查找Registry --> 找到并勾选compiler.automake.allow.when.app.running

最后重启idea

 

如果你的 IDEA 比较新,可能找不到这个

 

 

然后关闭设置,按上面设置的快键键,如 Command + Shift + M

找到并勾选compiler.automake.allow.when.app.running

 

最后重启idea

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/70823.html