简体   繁体   English

我可以在netbeans6.9.1中编写scala代码吗?

[英]Can I write scala code in netbeans6.9.1?

Is it possible to write and compile Scala code in netbeans6.9.1? 是否可以在netbeans6.9.1中编写和编译Scala代码? I am a beginner to Scala programming, and am very much confused about this. 我是Scala编程的初学者,对此非常困惑。

Yes, check out the Netbeans wiki ; 是的,查看Netbeans维基 ; Scala modules are experimental and under active development, so check the nightly builds. Scala模块是实验性的并且正在积极开发中,因此请检查每晚构建。 Also check out ErlyBird ; 还可以看看ErlyBird ; it's an Erlang/Scala IDE based on NetBeans. 它是基于NetBeans的Erlang / Scala IDE。

I've never actually tried to write Scala in Netbeans personally but according to Dick Wall the support for Scala in Netbeans is pretty much the best of breed among the main 3 IDEs (IntelliJ, Eclipse, and Netbeans). 我从未尝试过亲自在Netbeans中编写Scala,但根据Dick Wall的说法,在Netbeans中对Scala的支持几乎是主要3个IDE(IntelliJ,Eclipse和Netbeans)中最好的。 I know that's just anecdotal but it's from a pretty trusted source who literally inserted a whole new section into his Java Posse podcast just so he can geek out over Scala. 我知道这只是轶事,但它来自一个非常值得信赖的消息来源,他真的将一个全新的部分插入到他的Java Posse播客中,这样他就可以了解Scala。

This looks like a fantastic place to get you started. 这看起来像是一个让你入门的好地方。 http://wiki.netbeans.org/Scala http://wiki.netbeans.org/Scala

I have successfully used Scala with Netbeans 6.8. 我已成功将Scala与Netbeans 6.8一起使用。 I tried using 6.9, but could not get it to work. 我尝试使用6.9,但无法让它工作。 If you can manage with NB 6.8, then you are in luck. 如果您可以使用NB 6.8进行管理,那么您很幸运。

Note that even with 6.8, refactoring is not available. 请注意,即使使用6.8,也无法进行重构。 However, code completion works very nicely and that is sufficient for me. 但是,代码完成工作非常好,这对我来说已经足够了。 I hope that there is a more usable Netbeans plugin for Scala in the near future. 我希望在不久的将来Scala有一个更可用的Netbeans插件。

Of course, you need to install the Scala plugin after installing NB 6.8 to get anything to work. 当然,您需要在安装NB 6.8之后安装Scala插件才能使任何工作正常。 Instructions here: http://wiki.netbeans.org/Scala68v1 说明: http//wiki.netbeans.org/Scala68v1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM