multiple languages in the same project in Intellij idea

余生长醉 提交于 2020-01-03 10:57:49

问题


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?

Thanks in advance


回答1:


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.

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




回答2:


Am not sure if this is what you are looking for, still give it a try.

http://www.jetbrains.com/mps/concepts/index.html



来源:https://stackoverflow.com/questions/15401694/multiple-languages-in-the-same-project-in-intellij-idea

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!