Alexey Sedunov
2104a0fa2b
Extract Function: Drop extra space in modifier list
...
#KT-23274 Fixed
2018-03-30 12:37:30 +03:00
Alexey Sedunov
0a0043a851
Convert Function to Property: Forbid for properties with both initializer and getter
...
#KT-23293 Fixed
2018-03-30 12:37:29 +03:00
Alexey Sedunov
43b4a496e3
Rename: Increase precedence of RenameSyntheticDeclarationByReferenceHandler
...
Otherwise it's not applicable references to Java declarations
#KT-20241 Fixed
2018-03-30 12:37:29 +03:00
Mikhail Glukhikh
34de241154
Add inspection to detect public API with implicit type
2018-03-29 11:39:01 +02:00
Toshiaki Kameyama
e96b5f3117
Fix false positive in redundant companion reference #KT-23435 Fixed
2018-03-28 13:27:45 +02:00
Dmitry Savvinov
148573fcf6
Remove 'DataFlowValueKindUtils.isStable', use 'DataFlowValue.isStable' instead
2018-03-27 10:51:51 +03:00
Mikhail Glukhikh
804d340c5f
Fix more broken QF tests
2018-03-23 15:26:21 +03:00
Mikhail Glukhikh
e937a350fe
Fix broken QF tests
2018-03-23 14:57:33 +03:00
Toshiaki Kameyama
e06c13732f
Add intentions for specifying use-site targets for an annotation
...
So #KT-19871 Fixed
2018-03-23 13:03:00 +03:00
Toshiaki Kameyama
26dc5840f1
Fix two exceptions in "Convert concatenation to template
...
So #KT-23045 Fixed
So #KT-23045 Fixed
2018-03-23 09:36:49 +03:00
Toshiaki Kameyama
7328f75103
Don't suggest 'Redundant semicolon' before lambda extension call
...
So #KT-23152 Fixed
2018-03-23 09:35:34 +03:00
Toshiaki Kameyama
a67068d37e
Suggest "Add annotation target" quick fix also for field use-site
...
So #KT-23227 Fixed
2018-03-22 10:30:46 +03:00
Toshiaki Kameyama
e328d2d1ca
Suggest "Remove braces" in nested if correctly #KT-14270 Fixed
2018-03-22 09:56:22 +03:00
Toshiaki Kameyama
8082a5daf7
Fix "Add braces to if" when semicolon is used instead of a new line
...
So #KT-23123 Fixed
2018-03-22 09:45:54 +03:00
Mikhail Zarechenskiy
4ebd11a7ae
Refactoring: rename parameter to argument for annotation diagnostics
2018-03-22 03:59:55 +03:00
Mikhail Glukhikh
b739db3c35
Fix parameter handling in "Move suspicious reference into parentheses"
...
Related to KT-21743
2018-03-21 09:53:38 +03:00
Toshiaki Kameyama
fbd06dc74f
Fix "move suspicious reference into parentheses" for functional types
...
So #KT-21743 Fixed
2018-03-21 09:30:17 +03:00
Toshiaki Kameyama
3fbf85dc37
Add inspection to highlight unnecessary explicit companion references
...
So #KT-22971 Fixed
2018-03-21 09:15:48 +03:00
Toshiaki Kameyama
9d6b36c249
KT-20282 'Move statement up' works incorrectly for statement after 'finally' block if 'try' block contains closure
2018-03-20 20:39:17 +03:00
Natalia Selezneva
58edab37c1
Add test for fatal severity in scripts
2018-03-19 09:41:38 +03:00
Natalia Selezneva
4b4acfee2c
Scripts: display errors from external resolver in panel if text range is empty
2018-03-17 00:21:10 +03:00
Ilmir Usmanov
7224b99928
Add intention to remove suspend from parameter on suspend inline function
2018-03-16 16:26:11 +03:00
Toshiaki Kameyama
55c93bc8b6
Fix NPE on conversion: run/apply with explicit signature -> let/also
...
So #KT-22949 Fixed
2018-03-16 12:17:24 +03:00
Toshiaki Kameyama
f93b21eaa2
Fix "Add function to supertype" braces #KT-23215 Fixed
2018-03-16 12:11:26 +03:00
Alexander Udalov
a23af6306c
Update test data of log tag consistency test on lint
...
The reason is that UastUtils.tryResolveNamed (in
LogDetector.checkTagConsistent) started to refer to the field of the
property in the companion after d0ed0c4049 instead of its getter
2018-03-15 18:19:43 +01:00
Toshiaki Kameyama
66906e2c80
Process '$' correctly in "Convert concatenation to template"
...
So #KT-12226 Fixed
2018-03-15 10:29:58 +03:00
Nikolay Krasko
bc7ccbc39b
Fix stub mismatch for top level declaration with JvmPackageName (KT-21831)
...
ClassId stores jvm name and it differs from kotlin name in that case.
#KT-21831 Fixed
2018-03-14 21:16:58 +03:00
Toshiaki Kameyama
c1f43558b9
Unwrap: function parameter (KT-14788)
...
#KT-14788 Fixed
2018-03-14 21:16:58 +03:00
Mikhail Glukhikh
ab30275f14
Navigation: add expect declarations as supers #KT-16892 Fixed
2018-03-13 10:40:54 +03:00
Mikhail Glukhikh
849f9fc5c1
Navigation: add actual declarations as implementations (KT-16892)
2018-03-13 10:40:52 +03:00
Toshiaki Kameyama
e3a69d118f
Disable "Add labeled return" for suspend lambdas #KT-23126 Fixed
2018-03-07 16:10:44 +03:00
Toshiaki Kameyama
5d1f5d9bca
"Remove redundant 'if'" now works correctly with labeled return
...
So #KT-23109 Fixed
2018-03-07 16:01:38 +03:00
Toshiaki Kameyama
733cb42ced
Make implicit this inspection work for lambda invocation #KT-22970 Fixed
2018-03-07 15:58:23 +03:00
Toshiaki Kameyama
f48eacfbd4
Add inspection (INFORMATION) to convert Pair constructor into to call
...
So #KT-22933 Fixed
2018-03-07 15:40:19 +03:00
Toshiaki Kameyama
963e430b42
Make "Add annotation target" available on use-site annotation
...
So #KT-22861 Fixed
So #KT-22862 Fixed
2018-03-07 15:33:28 +03:00
Mikhail Glukhikh
442a89bc6c
ModuleDescriptor now sees internals of its expected by #KT-15739 Fixed
2018-03-07 13:58:31 +03:00
Toshiaki Kameyama
b9e7e8fca3
Sort modifiers: process final modifier correctly #KT-22954 fixed
2018-03-07 13:34:25 +03:00
Alexey Sedunov
e145a64d50
Rename: Forbid rename of synthetic declaration references
...
#KT-20241 Fixed
2018-03-06 15:15:44 +03:00
Alexey Sedunov
df4c80f43a
Shorten References: Allow import insertion when function and property have the same name
...
#KT-22745 Fixed
2018-03-06 15:15:44 +03:00
Alexey Sedunov
df4cd14161
Move: Relax private/protected visibility checks for usages in Java code
2018-03-06 15:15:43 +03:00
Alexey Sedunov
85b381db7c
Rename: Identify elements with the same origin when checking import ambiguity
...
#KT-13284 Fixed
2018-03-06 15:15:43 +03:00
Alexey Sedunov
6c17bbe42c
Rename: Check redeclaration for local variables
...
Also add tests for other local declarations
#KT-13255 Fixed
2018-03-06 15:15:42 +03:00
Alexey Sedunov
4609b2ae37
Navigation: Resolve typealiased SAM-references to type alias declaration
...
#KT-15302 Fixed
2018-03-06 15:15:42 +03:00
Alexey Sedunov
5bff4b9f39
Rename: Allow deleting name of companion object
...
#KT-20178 Fixed
2018-03-06 15:15:42 +03:00
Alexey Sedunov
0e3e387446
Rename: Adapt VariableInplaceRenameHandler to Kotlin
...
#KT-16510 Fixed
2018-03-06 15:15:42 +03:00
Alexey Sedunov
7149a0855a
Rename: Use OverloadChecker for redeclaration conflict analysis
...
#KT-19561 Fixed
#KT-22812 Fixed
#KT-13907 Fixed
2018-03-06 15:15:41 +03:00
Alexey Sedunov
12d5a72697
Move: Show more accurate message when moving subclass of a sealed class
...
#KT-23065 Fixed
2018-03-06 15:15:41 +03:00
Alexey Sedunov
5f43bd56b4
Extract Function: Use 'public' visibility for function extracted from public inline
...
#KT-15228 Fixed
2018-03-06 15:15:41 +03:00
Alexey Sedunov
d690aedb89
References: Fix resolution of delegate reference for local variables
...
#KT-22229 Fixed
2018-03-06 15:15:40 +03:00
Alexey Sedunov
96de29dfcb
Create from Usage: Support accessors for local delegated properties
...
#KT-19730 Fixed
2018-03-06 15:15:40 +03:00