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
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)
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.
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?
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.
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?
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.