open
and override
is no longer a warningKT-4829
Equal conditions in when
is now a warningKT-6611
“This cast can never succeed” warning is no longer reported for Foo<T> as Foo<Any>
KT-7174
Declaring members with the same signature as non-overridable methods from Java classes (like Object.wait/notify) is now an error (when targeting JVM)KT-12302
abstract
modifier for a member of interface is no longer a warningKT-12452
open
modifier for a member of interface without implementation is now a warningKT-11111
Overriding by inline function is now a warning, overriding by a function with reified type parameter is an errorKT-12337
Reference to a property with invisible setter now has KProperty type (as opposed to KMutableProperty)KT-4285
No warning for a non-tail call when the method inherits default arguments from superclassKT-4764
Spurious “Variable must be initialized” in try/catch/finallyKT-6665
Unresolved reference leads to marking subsequent code unreachableKT-9597
NullPointerException during resolution of complicated star projectionsKT-11750
Exceptions when creating various entries with the name “name” in enumsKT-11998
Smart cast to not-null is not performed on a boolean property in if
conditionKT-10648
Exhaustiveness check does not work when sealed class hierarchy contains intermediate sealed classesKT-10717
Type inference for lambda with local returnKT-11266
Fixed “Empty intersection of types” internal compiler error for some casesKT-11857
Fix visibility check for dynamic members within protected method (when targeting JS)KT-12589
Improved “infix
modifier is inapplicable” diagnostic messageKT-11679
Erroneous call with argument causes Throwable at ResolvedCallImpl.getArgumentMapping()KT-12623
Fix ISE on malformed codeKT-5075
Optimize array/collection indices usage in for
loopKT-11116
Optimize coercion to Unit, POP operations are backward-propagatedKT-11499
Compiler crashes with “Incompatible stack heights”KT-11943
CompilationException with extension property of KClassKT-12125
Wrong increment/decrement on Byte/Char/Short.MAX_VALUE/MIN_VALUEKT-12192
Exhaustiveness check isn't generated for when expression returning UnitKT-12200
Erroneously optimized away assignment to a property initialized to zeroKT-12582
“VerifyError: Bad local variable type” caused by explicit loop variable typeKT-12708
Bridge method not generated when data class implements interface with copy() methodKT-12106
import static of reified companion object method throws IllegalAccessError-language-version
command line optionlanguageVersion
configuration parameter, linked with kotlin.compiler.languageVersion
propertykotlinOptions.languageVersion
property in task configuration-jvm-target
command line optionjvmTarget
configuration parameter, linked with kotlin.compiler.jvmTarget
propertykotlinOptions.jvmTarget
property in task configuration-jdk-home
command line optionjdkHome
configuration parameter, linked with kotlin.compiler.jdkHome
propertykotlinOptions.jdkHome
property in task configurationKT-11632
)RandomAccess
and the operation isn't inlinedby
and in
try
in assignment expressionKT-8527
Include non-imported declarations on the first completionKT-12068
Special completion item for “[]” get-operator accessKT-12080
Parameter names are now higher up in completion listKT-9166
Code completion does not work for synthetic java properties on typing “g”KT-11609
No named arguments completion should be after dotKT-11633
Wrong indentation after completing a statement in data classKT-11680
Code completion of label for existing return with value inserts redundant whitespaceKT-11784
Completion for if
statement should add parentheses automaticallyKT-11890
Completion for callable references does not propose static Java membersKT-11912
String interpolation is not converted to ${} form when accessing this.propertyKT-11957
No catch
and finally
keywords in completionKT-12103
Smart completion for nested SAM-adapter produces short unresolved nameKT-12138
Do not show “::error” in smart completion when any function type accepting one argument is expectedKT-12150
Smart completion suggests to compare non-nullable with nullKT-12124
No code completion for a java property in a specific positionKT-12299
Completion: incorrect priority of property foo over method getFoo in Kotlin-only codeKT-12328
Qualified function name inserted when typing before if
KT-12427
Completion doesn't work for “@receiver:” annotation targetKT-12447
Don't use CompletionProgressIndicator in Kotlin pluginKT-12669
Completion should show variant with ()
when there is default lambdaKT-12369
Pressing dot after class name should not cause insertion of constructor callKT-11692
Support Spring model diagrams for Kotlin classesKT-12079
Support “Autowired members defined in invalid Spring bean” inspection on Kotlin declarationsKT-12092
Implement bean references in @Qualifier annotationsKT-12135
Automatically configure components based on basePackageClasses
attribute of @ComponentScanKT-12136
Implement package references inside of string literalsKT-12139
Support Spring configurations linked via @Import annotationKT-12278
Implement Spring @Autowired inspectionKT-12465
Implement Spring @ComponentScan inspectionKT-12091
Fixed unstable behavior of Spring line markersKT-12096
Fixed rename of custom-named beans specified with Kotlin annotationKT-12117
Group Kotlin classes from the same file in the Choose Bean dialogKT-12120
Show autowiring candidates line markers for @Autowired-annotated constructors and constructor parametersKT-12122
Fixed line marker popup on functions with @Qualifier-annotated parametersKT-12143
Fixed “Spring Facet Code Configuration (Kotlin)” inspection descriptionKT-12147
Fixed exception on analyzing object declaration with @Component annotationKT-12148
Warn about object declarations annotated with Spring @Configuration
/@Component
/etc.KT-12363
Fixed “Autowired members defined in invalid Spring bean (Kotlin)” inspection descriptionKT-12366
Fixed exception on analyzing class declaration upon annotation typingKT-12384
Fixed bean references in factory method callsKT-8477
New inspection “Can be primary constructor property” with quick-fixKT-5010
“Redundant semicolon” inspection with quickfixKT-9757
Quickfix for “Unused lambda expression” warningKT-10844
Quick fix to add crossinline modifierKT-11090
“Add variance modifiers to type parameters” inspectionKT-11255
Move Element Left/Right actionsKT-11450
“Modality is redundant” inspectionKT-11523
“Add @JvmOverloads annotation” intentionKT-11768
“Introduce local variable” intentionKT-11806
Quick-fix to increase visibility for invisible memberKT-11807
Use function body template when generating overriding functions with default bodyKT-11864
Suggest “Create function/secondary constructor” quick fix on argument type mismatchKT-11876
Quickfix for “Extension function type is not allowed as supertype” errorKT-11920
“Increase visibility” and “Decrease visibility” quickfixes for exposed visibility errorsKT-12089
Quickfix “Make primary constructor parameter a property”KT-12121
“Add toString()
call” quickfixKT-11104
New quickfixes for nullability problems: “Surround with null check” and “Wrap with safe let call”KT-12310
New inspection “Member has platform type” with quickfixval
” inspectionKT-3797
Quickfix to make a function abstract should not be offered for object membersKT-11866
Suggest “Create secondary constructor” when constructors exist but are not applicableKT-11482
Fixed exception in “Move to companion object” intentionKT-11483
Pass implicit receiver as argument when moving member function to companion objectKT-11512
Allow choosing any source root in “Move file to directory” intentionKT-10950
Keep original file package name when moving top-level declarations to separate file (provided it's not ambiguous)KT-10174
Optimize imports after applying “Move declaration to separate file” intentionKT-11764
Intention "Replace with a forEach
function call should replace continue
with return@forEach
KT-11724
False suggestion to replace with compound assignmentKT-11805
Invert if-condition intention breaks code in case of end of line commentKT-11811
“Make protected” intention for a val declared in parameters of constructorKT-11710
“Replace if
with elvis operator”: incorrect code generated for if
expressionKT-11849
Replace explicit parameter with it
changes the meaning of code because of the shadowingKT-11870
“Replace with Elvis” refactoring doesn't change the variable type from T? to TKT-12069
Specify language for all Kotlin code inspectionsKT-11366
“object Companion
is never used” warning in intellijKT-11275
Inconsistent behaviour of “move lambda argument out of parentheses” intention action when using lambda calls with function arguments without parenthesesKT-11594
“Add non-null asserted (!!) call” applied to unsafe cast to nullable type causes AE at KtPsiFactory.createExpression()KT-11982
False “Redundant final modifier” reportedKT-12040
“Replace when with if” produce invalid code for first entry which has commentKT-12204
“Use classpath of module” option in existing Kotlin run configuration may be changed when a new run configuration is createdKT-10635
Don't mark private writeObject and readObject methods of Serializable classes as unusedKT-11466
“Make abstract” quick fix applies to outer class of object with accidentally abstract functionKT-11120
Constructor parameter/field reported as unused symbol even if it have used
annotationKT-11974
Invert if-condition intention loses commentsKT-10812
Globally unused constructors are not marked as suchKT-11320
Don't mark @BeforeClass (JUnit4) annotated functions as unusedKT-12267
“Change type” quick fix converts to Int for Long literalKT-11949
Various problems fixed with “Constructor parameter is never used as a property” inspectionKT-11716
“Simply for
using destructuring declaration” intention: incorrect behavior for data classesKT-12145
“Simplify for
using destructuring declaration” should work even when no variables declared inside loopKT-11933
Entities used only by alias are marked as unusedKT-12193
Convert to block body isn't equivalent for when expressions returning UnitKT-10779
Simplify for
using destructing declaration: intention / inspection quick fix is available only when all variables are usedKT-11281
Fix exception on applying “Convert to class” intention to Java interface with Kotlin inheritor(s)KT-12285
Fix exception on test class generationKT-12502
Convert to expression body should be forbidden for non-exhaustive when returning UnitKT-12260
ISE while replacing an operator with safe callKT-12649
“Convert if to when” intention incorrectly deletes codeKT-12671
“Shot type” action: “Type is unknown” error on an invoked expressionKT-12284
Too wide applicability range for “Add braces to else” intentionKT-11975
“Invert if-condition” intention does not simplify is
expressionKT-12437
“Replace explicit parameter” intention is suggested for parameter of inner lambda in presence of it
from outer lambdaKT-12290
Navigate to the generated declaration when using “Implement abstract member” intentionKT-12376
Don‘t show "Package directive doesn’t match file location" in injected codeKT-12777
Fix exception in “Create class” quickfix applied to unresolved references in type argumentsKT-2428
Support basic use-cases of language injection for expressions marked with @Language annotationKT-11574
Support predefined Java positions for language injectionKT-11472
Add comment or @Language annotation after “Inject language or reference” intention automaticallyKT-6372
Add name suggestions to Rename dialogKT-7851
Respect naming conventions in automatic variable renameKT-8044
, KT-9432
Support @JvmName annotation in rename refactoringKT-8512
Support “Rename tests” options in Rename dialogKT-9168
Support rename of synthetic propertiesKT-10578
Support automatic test renaming for facade filesKT-12657
Rename implicit usages of annotation method value
KT-12759
Suggest renaming both property accessors with matching @JvmName when renaming one of them from JavaKT-4791
Rename overridden property and all its accessors on attempt to rename overriding accessor in Java codeKT-6363
Do not rename ambiguous references in import directivesKT-6663
Fixed rename of ambiguous import reference to class/function when some referenced declarations are not changedKT-8510
Preserve “Search in comments and strings” and “Search for text occurrences” settings in Rename dialogKT-8541
, KT-8786
Do now show ‘Rename overloads’ options if target function has no overloadsKT-8544
Show more detailed description in Rename dialogKT-8562
Show conflicts dialog on attempt of redeclarationKT-8611
Qualify class references to resolve rename conflicts when possibleKT-8732
Implement Rename conflict analysis and fixes for properties/parametersKT-8860
Allow renaming class by constructor delegation call referencing primary constructorKT-8892
Suggest renaming base declarations on overriding members in object literalsKT-9156
Quote non-identifier names in Kotlin referencesKT-9157
Fixed in-place rename of Kotlin expression referring Java declarationKT-9241
Do not replace Java references to synthetic component functions when renaming constructor parameterKT-9435
Process property accessor usages (Java) in comments and string literalsKT-9444
Rename dialog: Allow typing any identifier without backquotesKT-9446
Copy default parameter values to overriding function which is renamed while its base function is notKT-9649
Constraint search scope of parameter declared in a private memberKT-10033
Qualify references to members of enum companions in case of conflict with enum entriesKT-10713
Skip read-only declarations when renaming parametersKT-10687
Qualify property references to avoid shadowing by parametersKT-11903
Update references to facade class when renaming file via matching top-level classKT-12411
Fix package name quotation in Move refactoringKT-12543
Qualify property references with this
to avoid renaming conflictsKT-12732
Copy default parameter values to overriding function which is renamed by Java reference while its base function is unchangedKT-12747
Fix exception on file copyKT-4727
Convert Java code copied from browser or other sourcesKT-11952
Assertion failed in PropertyDetectionCache.get on conversion of access to Java constant of anonymous typeKT-12046
Recursive property setterKT-12039
Static imports converted missing “.Companion”KT-12054
Wrong conversion of instanceof
checks with raw typesKT-12045
Convert Object()
to Any()
KT-12015
False positive for Bundle.getInt()KT-12023
“minSdk” lint check doesn't work for as
/is
KT-12674
“Calling new methods on older versions” errors for inlined constantsKT-12681
Running lint from main menu: diagnostics reported for java source files onlyKT-12173
False positive for “Toast created but not shown” inside SAM adapterKT-12895
NoSuchMethodError thrown when saving a Kotlin file_
and *
standalone charactersKT-9933
Indentation in code fragments is not preservedKT-10998
Spaces around links are missing in return blockKT-11791
Markdown links renderingKT-12001
Allow use of @param
to document type parameterKT-11643
Inspections and intentions to fix erroneously configured Maven pom fileKT-11701
“Add Maven Dependency quick fix” in Kotlin source filesKT-11743
Intention to replace kotlin-test with kotlin-test-junitKT-9492
Configuring multiple Maven ModulesKT-11642
Kotlin Maven configurator tags orderKT-11436
“Choose Configurator” control opens dialogs with inconsistent modality (linux)KT-11731
Default maven integration doesn't include documentationKT-12568
Execution configuration: file path completion works only in some sub-elements of KT-12558
Configure Kotlin in Project: “Undo” should revert changes in all pomsKT-12512
“Different IDE and Maven plugin version” inspection is being invoked for non-tracked pom.xml filesKT-11438
Support navigation from stacktrace to inline function call siteKT-12067
Deadlock in Kotlin debugger is fixedKT-12232
No code completion in Evaluate Expression and Throwable at CodeCompletionHandlerBase.invokeCompletion()KT-12137
Evaluate expression: code completion/intention actions allows to use symbols from modules that are not referencedKT-12206
NoSuchFieldError in Evaluate Expression on a property of a derived classKT-12678
NoSuchFieldError in Evaluate Expression on accessing delegated property defined in other moduleKT-12773
Fix debugging for Kotlin JS projectsKT-12035
Spaces around as
KT-12018
Spaces between function name and arguments in infix callsKT-11961
Spaces before angle bracket in method definitionKT-12175
Don't enforce empty line between secondary constructors without bodyKT-12548
Spaces around is
keywordKT-12446
Spaces before class type parametersKT-12634
Spaces between method name and parenthesis in method callKT-10680
Spaces around in
keywordKT-12791
Spaces between curly brace and expression inside string templateKT-12781
Spaces between annotation and expressionKT-12689
Spaces around semicolonsKT-12714
Spaces around parentheses in enum elementsKT-2919
Constructor calls are no longer highlighted as classesKT-6540
Infix function calls are now highlighted as regular function callsKT-9410
Annotations in Kotlin are now highlighted with the same color as in Java by defaultKT-11465
Type parameters in Kotlin are now highlighted with the same color as in Java by defaultKT-11657
Allow viewing decompiled Java source code for Kotlin-compiled classesKT-11704
Support file path references inside of Kotlin string literalsKT-12076
Kotlin Plugin update check: always display installed version numberKT-11814
New icon for kotlin annotation classesKT-12735
Convert JavaDoc to KDoc when overriding Java class member in KotlinKT-5960
Can't find usages for Java methods used from Kotlin by call conventionKT-8362
“New Kotlin file”: Keywords should be escaped in package nameKT-8682
Respect “Copy JavaDoc” option in the “Override/Implement Members...” dialogKT-8817
Fixed rename of Java getters/setters through synthetic property references in KotlinKT-9399
Find Usages omits Kotlin annotation parameter usage in Java sourceKT-9797
“Kotlin Bytecode” toolwindow breaks after closingKT-11145
Use progress indicator when searching usages in Introduce ParameterKT-11155
Allow running multiple Kotlin classes as well as running mixtures of Kotlin and Java classesKT-11495
Show recursion line markers for extension function calls with different receiverKT-11659
Generate abstract overrides for Any members inside of Kotlin interfacesKT-12070
Add empty line in error message of Maven and Gradle configurationKT-11908
Allow properties with custom setters to be used in generated equals/hashCode/toStringKT-11617
Fixed title of Introduce Parameter declaration chooserKT-11817
Fixed rename of Kotlin enum constants through Java referencesKT-11816
Fixed usages search for Safe Delete on simple enum entriesKT-11282
Delete interface reference from super-type list when applying Safe Delete to Java interfaceKT-11967
Fix Find Usages/Rename for parameter references in XML filesKT-10770
“Optimize imports” will not keep import if a type is only referenced by kdocKT-11955
Copy/Paste inserts fully qualified name when copying function with overloadsKT-12436
“Replace explicit parameter with it”: java.lang.Exception at BaseRefactoringProcessor.run()KT-12440
Removing unused parameter results in Exception “Refactorings should not be started inside write action”KT-12006
getLanguageLevel is slow for Kotlin light classesKT-12026
“Constant expression required” in Java for const Kotlin valuesKT-12259
ClassCastException in light classes while trying to create generic propertyKT-12289
Remove unnecessary ?
from serr
live templateKT-12110
Map help button of the Compiler - Kotlin pageKT-12075
Kotlin Plugin update check: make dumbawareKT-10255
call BuildManager.clearState(project) in apply() method of Kotlin Compiler Settings configurableKT-11841
New Project / Module wizard, Gradle: pure Kotlin module is created without repositories
call in build.gradleKT-11095
Java cannot infer generic return type of Kotlin function (with java 8 language level)KT-12090
Intellij/Kotlin plugin does not handle generic return type of static method defined in Kotlin, called from JavaKT-12206
Fix NoSuchFieldError on accessing base property without backing field in evaluate expressionKT-12516
File Structure: Kotlin annotation classes have Java annotation iconsKT-11328
“New Kotlin class”: generates packages when fully qualified name is specifiedKT-11778
Exception in Lombok plugin: Rewrite at slice FUNCTIONKT-11708
“Go to declaration” doesn't work on a call to function with SAM conversion on a derived typeKT-12381
Prefer not-nullable return type when overriding Java method without nullability annotationKT-12647
Performance improvement for test-related line markersKT-12526
Kotlin intentions increase PSI modification counts from isAvailable, even in daemon threadsKT-11531
Optimize “KCallable.name”KT-10771
Reflection on Function objects does not support lambdas with generic return typeKT-11824
Reflection inconsistency between member property and accessorKT-6942
Generate structural equality check (i.e. Any.equals
) instead of referential check (===) value equality patterns in when
KT-7228
Wrong AbstractList signatureKT-8299
Wrong access to private member in autogenerated code in data classKT-11346
Reified functions like filterIsInstance
are now available in JS Standard LibraryKT-12305
Incorrect translation of vararg
in @native
functionsKT-12254
JsEmptyExpression in initializer when compiling code like val x = throw Exception()
KT-11960
Wrong code generated when a method of a local class calls constructor of the classKT-10931
Incorrect inlining of library method with optional parametersKT-12417
Wrong check cast generated for KMutablePropertyKT-11839
Maven goal to execute kotlin scriptKT-12478
, KT-12406
, KT-12478
KT-12595
JPS: Fixed com.intellij.util.io.MappingFailedException: Cannot map bufferKT-11166
Gradle: Unable to access internal classes from test code within the same moduleKT-12352
KAPT: Fix “Classpath entry points to a non-existent location” warningsKT-12074
Building Kotlin maven projects using a parent pom will silently failKT-11770
Warning “RuntimeException: Could not find installation home path” when using Gradle Incremental CompilationKT-10969
Android extensions: NullPointerException when finding view in FragmentKT-11885
Gradle/Android: Unresolved reference “kotlinx” when classpath dependency is defined in root build.gradleKT-12786
Deprecation warning with Gradle 2.14equals
compared with ==
do...while (true)
is now considered an infinite loopval
in lambda or in local functionget
is an operator but set
is notwhen
over enums in inline functionsList<? super T>
) as mutable collections in Kotlin (MutableList<in T>
)todo
and currentStackTrace
@InlineOnly
not to lose stack traceString.subSequence
to match those of CharSequence.subSequence
*Indexed
functionsbinarySearch
functionstrimIndent
/trimMargin
toString()
for lambdas and function expressions when kotlin-reflect.jar is availableKProperty.javaField
on a subclassjavaMethod
and kotlinFunction
for top level functions in a different filex?.let { it }
) are now inlinedas
)is
-checks for reified type parametersis
-checks for nullable typesinvoke
on objects and companion objectsthis
in inner's lambdasCharSequence.repeat
New features:
@Configuration
/@Component
/@Bean
@Autowired
Dependency...” actionvar
s that can be replaced by val
s.java
when KClass is expectedarrayOf
wrapper for annotation parametersvar
with private setter finalkotlinClassName()
and kotlinFunctionName()
macros for use in live templatesIssues fixed:
@NotNull
parametervar
s shown in Ctrl + Mouse Hover as val
shashCode()
implementation in “Generate equals/hashCode” actionis
branches in when@
in completion.kotlin_builtins
files)when
with if
”: do not lose commentsoperator
functions@
nowwhile
loop condition+
, -
, &&
and ||
)$
symbols in converted stringstoArray
calls for Java Collection#toArray(T[])
@android:id/*
IDs in Android Extensionskotlin.incremental
Analysis & diagnostics issues fixed:
JVM code generation issues fixed:
JS translator issues fixed:
New features:
General issues fixed:
Configuration issues fixed:
Debugger issues fixed: