发布于 2016-07-01 01:28:41 | 150 次阅读 | 评论: 0 | 来源: 网友投递
Kotlin 基于JVM的编程语言
Kotlin 是一个基于 JVM 的新的编程语言,由 JetBrains 开发。
Kotlin 1.0.3 发布了。Kotlin 是一个基于 JVM 的新的编程语言,由 JetBrains 开发。
更新内容:
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
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
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/