Kotlin 1.0.3 发布,基于 JVM 的编程语言 - 开源中国社区
Kotlin 1.0.3 发布,基于 JVM 的编程语言
oschina 2016年07月01日

Kotlin 1.0.3 发布,基于 JVM 的编程语言

oschina oschina 发布于2016年07月01日 收藏 12 评论 5

免费体验IBM Cloud,构建Iot应用 >>>  

Kotlin 1.0.3 发布了。Kotlin 是一个基于 JVM 的新的编程语言,由 JetBrains 开发。

更新内容:

compiler:

  • New option -jdk-home to specify the JDK against which the code is compiled

  • Options to specify Kotlin language version (-language-version) and target Java version (-jvm-target) (will have effect in 1.1, added now for forward compatibility)

  • More efficient bytecode (no more iterator in indices loop, avoid unnecessary operations with Unit)

  • Various improvements to diagnostic messages

IDE:

  • Autosuggestion for Java to Kotlin conversion for Java code copied from browser and other sources outside of the IDE

  • Language injection for strings passed to parameters annotated with @Language. Also predefined Java injections applied in Kotlin code. Read more about using language injections in the documentation

  • Completion now always shows non-imported classes and methods and adds imports automatically when they are selected

  • Smart completion works after ‘by’ and ‘in’

  • Move Element Left/Right actions work for Kotlin

  • Decompile button is now available in Kotlin bytecode toolwindow and for .class files compiled with Kotlin
    decompile

  • Now you can navigate from stacktrace to the call site of an inline function

  • Inspections and intentions to check and adjust Kotlin configuration in pom.xml files

  • Various Spring support improvements

详情:https://blog.jetbrains.com/kotlin/2016/06/kotlin-1-0-3-is-here/

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Kotlin 1.0.3 发布,基于 JVM 的编程语言
分享
评论(5)
最新评论
0
android 版的swift
0
不错不错
0
android的swift XD
0
这是啥?
0
jvm这么好?好多语言基于它开发
顶部