如何在Intellij上编译到bin文件夹 [英] How to compile to bin folder on Intellij

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

问题描述

我有一个src目录,其中包含其他目录和类文件.但是,当我在src目录中更改类时,bin文件夹中的相对类文件未更新.为什么Intellij不能自动编译,但是例如Eclipse可以自动编译?

I have a src directory containing other directories and class files. However when I change a class in the src directory the relative class file is not updated in the bin folder. Why does Intellij not automatically compile but Eclipse for example does?

推荐答案

您可以将项目设置更改为自动创建项目".

You can change your project settings to "Make Project automatically".

要执行此操作,请转到首选项",编译器",然后单击复选框.

To do this, go to Preferences, Compiler and click the checkbox.

(Intellij IDEA 13.1 Ultimate)

(Intellij IDEA 13.1 Ultimate)

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

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