1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Kotlin 1.0.3 发布,基于 JVM 的编程语言 下载

本帖由 漂亮的石头2016-07-01 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,737
    赞:
    47
    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
      [​IMG]


    • 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
      [​IMG]


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


    • Smart completion works after ‘by’ and ‘in’
      [​IMG]


    • Move Element Left/Right actions work for Kotlin
      [​IMG]


    • Decompile button is now available in Kotlin bytecode toolwindow and for .class files compiled with Kotlin
      [​IMG]


    • 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/
    Kotlin 1.0.3 发布,基于 JVM 的编程语言下载地址
     
正在加载...