更新intelliJ IDEA
我正在使用 IntelliJ IDEA 9.0 社区版。我使用的Scala插件使用Scala 2.7.6。如何更新 Scala 2.8 的插件?谢谢。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我正在使用 IntelliJ IDEA 9.0 社区版。我使用的Scala插件使用Scala 2.7.6。如何更新 Scala 2.8 的插件?谢谢。
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
如果您使用最新版本的 IDEA (9.0.3) 和最新版本的 scala 插件,那么这应该很简单:
$SCALA28_HOME
$SCALA28_HOME
,它将自动创建scala-library-2.8.0
和scala-compiler-2.8.0
为您提供“全局”库(它将库作为依赖项添加到您的模块中)。需要认识到的一件事是,只有将编译器作为全局库添加到模块中时,嵌入式 scala 控制台(即 REPL)似乎才能工作。
If you use the latest edition of IDEA (9.0.3) and the latest version of the scala plugin for that, this should be easy:
$SCALA28_HOME
$SCALA28_HOME
and it will automatically createscala-library-2.8.0
andscala-compiler-2.8.0
"global" libraries for you (it adds the library to your module as a dependency).One thing to realize is that the embedded scala console (i.e. REPL) only seems to work if you add the compiler as a global library to the module as well.