无法在IntelliJ上创建Scala类 [英] Unable to create Scala class on IntelliJ
本文介绍了无法在IntelliJ上创建Scala类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚刚开始学习Scala。
我已经为IntelliJ安装了Scala插件,并创建了一个新的Scala项目。但是当我右键单击src文件夹来创建一个新的Scala类时,没有选项可以这样做。我错过了什么?
I'm just starting to learn Scala. I have installed the Scala plugin for IntelliJ, and created a new Scala project. But when I right-click on the src folder to make a new Scala class, there is no option to do so. Am I missing something?
推荐答案
右键单击您的项目,添加框架支持并选择Scala框架,然后通过右键单击您可以创建Scala类的包。
Right click on your project, "Add Framework support" and choose Scala framework, then by right click on the packages you can create Scala Class.
这篇关于无法在IntelliJ上创建Scala类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文