1. setting –> compiler 将 Build project automatically 勾选上 2. 查找registry,可以使用ctrl+shirt+alt+/,弹出框后下拉找到 compiler.automake.allow.when.app.running 勾选上即可