Kotlin 1.0.5 EAP


#1

We’re happy to announce the EAP for Kotlin 1.0.5. For this EAP cycle, we plan to stick to a date-driven release schedule, with weekly builds leading up to the final release in the beginning of November.

What’s new

  • Intention to convert loops to lambdas
  • Postfix code completion
  • New refactorings: Introduce Type Parameter, Extract Superclass, Extract Interface
  • Plenty of new intentions, inspections and quickfixes.
  • Support for @JsName annotation and the ::class class literal syntax in the JS backend
  • Android Lint checks updated to Android Studio 2.2
  • “Extract string resource” intention for Android
  • Bugfixes and performance improvements

See the full changelog.

How to get EAP build

For IntelliJ IDEA

Configure Early Access Preview channel in Tools | Kotlin | Configure Kotlin Plugin Updates and press “Check for updates now”.

For Gradle or Maven

  1. Add https://dl.bintray.com/kotlin/kotlin-eap to your repositories.
  2. Change the version of Kotlin dependencies (compiler and stdlib) to 1.0.5-eap-117.

Please do provide feedback and report any issues to our issue tracker (please specify your plugin version and IDE version).


#2

This topic is now a banner. It will appear at the top of every page until it is dismissed by the user.


#3

Great stuff. Been waiting for postfix completion for a while but don’t see it in Android Studio 2.2.1. Is it IntelliJ IDEA only feature? (working there)


#4

Kotlin postfix code completion relies on platform changes in IntelliJ IDEA 2016.2. Android Studio 2.2 is based on IntelliJ IDEA 2016.1, which does not include those changes.


#10

Kotlin 1.0.5 is now updated to build 1.0.5-eap-66.


#11

Does this include any fix for the IDE errors when using Android data binding autogenerated code? Or rather, what release is that scheduled for, if not 1.0.5?


#12

The key fix required for databinding to work in the IDE properly was actually needed on the Android Studio side, and was implemented in AS 2.2.1. Now that it’s fixed, we’ll look into the remaining issues from our side, but given that 1.0.5 is a date-driven release coming out fairly soon, we can’t promise that it will be included in 1.0.5.


#13

EAP build 1.0.5-eap-84 is now available, including ::class syntax support in the JS backend and Android Lint checks updated to Android Studio 2.2.


#14

it does not contain the fix for databinding though ?


#15

Hey do you mean 83? Having a look at bintray, 84 does not exist :slight_smile:


#16

The version of the plugin is 84 but bintray only has 83.
Sounds like something has gone wrong.


#17

Yes, there was an error during the release process. The plugin and runtime versions are compatible, you can use them with no issues.


#18

I am using AS 2.2.2, and don’t see an improvement yet in data binding – still ‘cannot access class …’ errors in IDE. By ‘remaining issues’ you mean that there was an AS dependency, now with that fixed, you can address the errors in Kotlin plugin side?


#19

I’m also seeing the same issues with AS 2.2.2 and databind (“Cannot access class…”)


#21

Sorry guys, I’m going to delete the off-topic discussion of ternary operator syntax from the EAP announcement thread entirely. Please feel free to restart it in another topic.


#22

EAP build 1.0.5-eap-117 is now available, with “Extract string resource” intention for Android, a few new inspections and many bugfixes.


#23

This topic is no longer a banner. It will no longer appear at the top of every page.