IDEA自动编译设置,2021.2前后版本配置有差异

For IntelliJ IDEA 12+ releases we can build automatically the edited sources if we are using the external compiler option. The only thing needed is to check the option "Build project automatically", located under "Compiler" settings:

Also, if you would like to hot deploy, while the application is running or if you are using spring boot devtools you should enable the compiler.automake.allow.when.app.running from registry too. This will automatically compile your changes.

For versions greater than 2021.2, we need check 'Allow auto-make to start even id the development application is currently running' option:

For versions older than 2021.2:

Using Ctrl+Shift+A (or ⌘+Shift+A on Mac) type Registry once the registry windows is open, locate and enable compiler.automake.allow.when.app.running, see here:

参考:jakarta ee - Intellij IDEA Java classes not auto compiling on save - Stack Overflow

相关推荐

  1. YOLO的版本哪些,以及功能差异

    2024-04-20 10:10:13       8 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-04-20 10:10:13       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-04-20 10:10:13       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-04-20 10:10:13       19 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-04-20 10:10:13       20 阅读

热门阅读

  1. idea常用的快捷键

    2024-04-20 10:10:13       16 阅读
  2. 掌握ChatGPT:写作论文的利器

    2024-04-20 10:10:13       14 阅读
  3. 在IntelliJIDEA中如何将依赖包打入项目中?

    2024-04-20 10:10:13       15 阅读
  4. Mac使用Idea新手常用快捷键

    2024-04-20 10:10:13       13 阅读
  5. lombok

    2024-04-20 10:10:13       12 阅读
  6. isListEqual方法比较

    2024-04-20 10:10:13       13 阅读
  7. Python 12306抢票脚本

    2024-04-20 10:10:13       12 阅读
  8. 功能强大的开源数据中台系统 DataCap 2024.03.3 发布

    2024-04-20 10:10:13       13 阅读
  9. 力扣练习题(2024/4/19)

    2024-04-20 10:10:13       12 阅读