現代化的JVM語言 Kotlin v1.0.3發布
2010年,長達是十年之久的Java開發讓JetBrains的工程師認為老舊的Java語言已經嚴重阻礙了生產力。他們認為是時候開發一款現代化的JVM語言了,這也是因為他們有足夠的資源和專家。本身做各種IDEs起家的JetBrains就開始著手新工具的開發——一個編程語言。
Kotlin可以通過versa調用Java方法,源碼可在同一項目中混合使用,甚至生成的.class文件完全兼容Java工具。JetBrains內部現在已經有一個超過20個開發人員的團隊使用Kotlin開發。 目前已經有大量的開發人員使用Kotlin開發web服務后端和Android應用。
更新日志
1.0.3版本主要是bug修復,工具的改進和性能提升。
系統全部更改日志和問題統計
- 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 withUnit
) - 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
- 更多日志見:ChangeLog.md
下載
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!