如何在保存时编译? [英] How to compile on save?

查看:85
本文介绍了如何在保存时编译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次保存时我都希望编译项目,但是在属性中此选项为灰色,因此对于任何更改,我都必须单击保存",然后清理并构建.

I would like to compile the project every time I save, but in properties this option is greyed, so for any change I do I have to click save then clean and build.

如何避免每次代码修改时清理和构建?

How can I do to avoid to clean and build for every code modification?

推荐答案

如下所示更改netbeans项目的project.properties.

Change your netbeans project's project.properties like below.

  1. 在project.properties文件中的以下行查找

  1. Find below line in project.properties file

compile.on.save.unsupported.javafx = true

将此值更改为false

Change this value to set to false

compile.on.save.unsupported.javafx = false

更改此文件后,将启用在保存时编译"选项,您一切顺利.

After change this file, compile on save option will be enabled and you are good to go.

这篇关于如何在保存时编译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆