Scala 3 support in IntelliJ Scala plugin

栏目: IT技术 · 发布时间: 5年前

内容简介:We added basic Dotty support in the IntelliJ Scala plugin a long time ago, right after the announcement of Dotty. However, for a long time Dotty has been a dark horse, and aiming at a moving target hadn’t been easy. So it was reasonable to put that task on

We added basic Dotty support in the IntelliJ Scala plugin a long time ago, right after the announcement of Dotty. However, for a long time Dotty has been a dark horse, and aiming at a moving target hadn’t been easy. So it was reasonable to put that task on the back-burner and focus on Scala 2 for a while. Now that Dotty is finally destined to become Scala 3 and the language features are getting more stable, we have started to work on a full-fledged Scala 3 support.

The 2020.1 Scala plugin nightly builds now include preliminary support of Scala 3: the new syntax (by the way, we had to adjust that “given” thing several times already), error highlighting, navigation, type info, and many other bread-and-butter IDE features. Although the functionality is already usable, it is still “in beta” – some bumps here and there are expected. We depend on your feedback to smooth the rough edges and make Scala 3 support as good as Scala 2 one (and possibly even better, because, just as Dotty, we now have a lot of experience to rely on).

Trying the nightly builds is easy:

  1. Download IntelliJ IDEA 2020.1 EAP (you may also do that via Settings | Appearance | System | Updates ).
  2. Open Settings | Languages | Scala | Updates.
  3. Select Nightly plugin update channel and press Check for updates.
    (You can always select EAP or Release to revert to a more stable build; alternatively, you can download any Scala plugin build from thePlugin Repository)

If you haven’t yet tried Dotty, now is as good time as ever – clone the Dotty example project and open it in IntelliJ IDEA. Your feedback is very welcome, as always. Feel free to ask any questions in intellij-scala Gitter channel . Report any bugs toYouTrack.

Sincerely,

IntelliJ Scala plugin team


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

王牌创业者:风口游戏

王牌创业者:风口游戏

澈言 / 百花洲文艺出版社 / 2018-2 / 48.00

《王牌创业者:风口游戏》是一部围绕互联网创业展开的商战小说:故事的主人公莫飞是“毕业即创业”的当代年轻创业者的典型代表,他大学在校时就凭借创业项目拿到了天使融资,创业几年后,当产品估值越做越大时,他却忽然遭遇创业伙伴及投资人的联手陷害,失去了自己一手建立的公司。 此时, 莫飞的女友林姿参加了一场声势浩大的创业比赛,并一举夺魁,直进决赛。可在决赛中,突如其来的一场新闻事件让她名誉扫地。最终,为......一起来看看 《王牌创业者:风口游戏》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具