在IntelliJ IDEA的同一项目多国语言 [英] multiple languages in the same project in Intellij idea

查看:831
本文介绍了在IntelliJ IDEA的同一项目多国语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在IntelliJ IDEA的,我使用Java和放大器的工作;动作在同一个项目。 Java SDK的是项目的默认。当我想在ActionScript编程,几类不可用(如字符串)。因为项目未使用ActionScript SDK中前点的情况,我想。然后我的问题是:它可能使用多种语言(二在这种情况下)在同一个IntelliJ IDEA的项目?如果答案是是,那么我该怎么办?

In intellij IDEA, I am working with Java & ActionScript in the same project. The Java SDK is the default of the project. When I want to program in ActionScript, several classes are not available (eg. String). The former point happens because the project is not using the ActionScript SDK, I guess. Then my question is: Is it to possible use multiple languages (two in this case) in the same IntelliJ IDEA project? If the answer is "Yes", then How can I do?

在此先感谢

推荐答案

如果您的ActionScript类是在一个单独的模块,您可以更改项目设置&gt其用于该模块中的的SDK;模块> yourModule>依赖标签>模块SDK

If your ActionScript classes are in a separate module, you can change the SDK which is used for that module in Project Settings > Modules > yourModule > Dependencies tab > Module SDK.

当然,你不必改变SDK为您的Java模块(它仍将JDK XYZ)。

Of course, you don't have to change the SDK for your Java module (it will remain JDK xyz).

这篇关于在IntelliJ IDEA的同一项目多国语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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