Nikolay Krasko
23bd0b3db5
Update test data because of changed action name in 173
2018-01-12 13:54:06 +03:00
Toshiaki Kameyama
16695c1af5
KT-21929 Inappropriate quick fix for a sealed class instantiation ( #1444 )
2018-01-03 11:20:58 +01:00
Toshiaki Kameyama
184651d366
Do not suggest "add inner" quick fix for interfaces etc. #KT-18396 Fixed
2017-12-29 16:43:47 +03:00
Toshiaki Kameyama
5e765c525e
Do not suggest quickfix 'Specify type explicitly' with existing type
...
So #KT-15180 Fixed
2017-12-28 21:06:48 +03:00
Mikhail Glukhikh
2e71691ab2
Fix potential leak in "unused lambda expression body" fix
2017-12-28 20:31:45 +03:00
Dmitry Jemerov
43ef113b7a
Correctly apply annotation wrap before modifier keyword
...
#KT-20314 Fixed
2017-12-22 10:35:22 +01:00
Alexey Sedunov
4ac870500f
Minor: Fix test data
2017-12-21 16:01:29 +03:00
Toshiaki Kameyama
411feab9ae
KT-21698 Create interface shouldn't suggest to declare it inside a class which implements it
2017-12-20 18:14:55 +01:00
Mikhail Glukhikh
7358980cbc
Add inspection to detect non-const vals used as Java annotation args
...
So #KT-20615 Fixed
2017-12-15 13:31:41 +03:00
Mikhail Glukhikh
a375500a33
Spelling: MemberVisibilityCanPrivate > MemberVisibilityCanBePrivate
2017-12-12 19:47:46 +03:00
Toshiaki Kameyama
4563cf250d
"Add type" quick fix incorrectly processes vararg modifier with primitive type array initializer #KT-21544 Fixed
2017-12-08 15:46:45 +01:00
Mikhail Glukhikh
834c3fe62b
Do not inline property setter if it's not required (e.g. ReplaceWith)
...
So #KT-21237 Fixed
2017-12-07 12:14:29 +03:00
Mikhail Glukhikh
bddaab9d48
Inline properties without setter / with default setter correctly
...
Related to KT-21237
2017-12-07 12:14:29 +03:00
Nikolay Krasko
ab28bdf32f
Store in test data failure for quotedName name
2017-12-05 16:07:55 +03:00
Alexey Sedunov
84c6f9bf45
Create from Usage: Fix choosing superclass for abstract member
...
This applies to cases when non-existing member is called without
explicit receiver
#KT-21332 Fixed
2017-11-30 12:49:25 +03:00
Alexey Sedunov
7e3ca4734d
Create from Usage: Add val to data class parameter
...
Also place new parameters on the new line if previous ones have line breaks
#KT-21162 Fixed
2017-11-30 12:49:25 +03:00
Alexey Sedunov
354a6cbfd9
Change Signature: Keep parameter 'val'/'var' when invoked from Java
...
#KT-20901 Fixed
#KT-21159 Fixed
2017-11-30 12:49:24 +03:00
Toshiaki Kameyama
2dd66225f3
Take into account vararg modifier in "Add type" quick fix
...
So #KT-20894 Fixed
2017-11-27 16:44:42 +03:00
Toshiaki Kameyama
b8c5d1b852
Fix "add <*>" quick-fix for inner class with generic outer one
...
So #KT-20763 Fixed
2017-11-10 15:34:17 +03:00
Toshiaki Kameyama
9ea9ea1008
Add quick fix to add required target to annotation #KT-20484 Fixed
2017-11-02 11:07:53 +03:00
Simon Ogorodnik
f21e1c60e0
KT-20883: Add more details to MissingDocumentationInspection message
...
#KT-20883 fixed
2017-10-25 17:54:43 +03:00
Simon Ogorodnik
d28e9fd22d
KT-20880: Fix AddDocumentationFix to add multiline comment
...
#KT-20880 fixed
2017-10-25 17:54:42 +03:00
Alexey Sedunov
e65adeb029
Misc: Fix quickfix test data
2017-10-18 18:17:50 +03:00
Mikhail Zarechenskiy
88595e1a58
Don't require to override abstract methods in expect class
...
#KT-16099 Fixed
2017-10-11 15:27:50 +03:00
Mikhail Glukhikh
0b5b5d8e89
Suggest primitive array type for collection literals in "add type" fix
...
So #KT-18549 Fixed
2017-10-10 22:48:30 +03:00
Toshiaki Kameyama
c5b7d0f0df
Remove parentheses after deleting the last unused constructor parameter
...
So #KT-16636 Fixed
2017-10-10 11:55:27 +03:00
Mikhail Glukhikh
e47feaf0b8
Add test for KT-20007
2017-10-05 15:28:21 +03:00
Toshiaki Kameyama
e92af08c98
Introduce "Assign to property" quick-fix #KT-17204 Fixed
2017-10-05 14:25:28 +03:00
Alexey Sedunov
aabe23d410
Minor: Fix coroutine package name in quick fix tests
2017-10-02 18:14:04 +03:00
Toshiaki Kameyama
2121322665
Fix useless "Remove curly braces" before Chinese character
...
So #KT-20409 Fixed
2017-10-02 17:46:07 +03:00
Mikhail Zarechenskiy
8a545f05de
Provide quick fix for migration of single elements in named arguments
...
See more in KT-20171
2017-09-26 14:49:43 +03:00
Mikhail Zarechenskiy
8ab7c26cae
Provide quick fix for named arguments to varargs in annotations
...
See more in KT-20171
2017-09-26 14:49:43 +03:00
Toshiaki Kameyama
8b135c12e7
Delete useless assert() after simplify comparison #KT-14695 Fixed
2017-09-25 15:35:11 +03:00
Toshiaki Kameyama
1043284afe
Add data modifier to a class quickfix #KT-18220 Fixed
2017-09-25 14:17:35 +03:00
Kirill Rakhman
93252926ba
Introduce additional quick-fix for (collection) type mismatch
...
This fixed inserts conversion .toSequence/Array/Iterable/Collection/List
So #KT-19735 Fixed
2017-09-25 12:10:28 +03:00
Mikhail Glukhikh
f348ee9381
Fix a pair of multi-platform messages #KT-20327 Fixed
2017-09-25 11:47:05 +03:00
Mikhail Glukhikh
bf739198aa
Fix regular quick-fix test with multi-platforms required
2017-09-19 17:13:58 +03:00
Mikhail Glukhikh
79308287be
Minor: rename directory in quick-fix test data
2017-09-18 14:40:14 +03:00
Toshiaki Kameyama
d87c0b164f
Add quick-fix for CANNOT_CHECK_FOR_ERASED #KT-18742 Fixed
2017-09-18 12:11:15 +03:00
Mikhail Glukhikh
e12de11ce9
Fix add modifier for replacement case, add expect/actual order tests
2017-09-16 19:47:43 +03:00
Mikhail Glukhikh
a18e9436a1
Migration to expect/actual: change diagnostics rendering
2017-09-16 19:47:40 +03:00
Mikhail Glukhikh
6e41bbc2a7
Migration: header->expect & impl->actual in IDEA test data
2017-09-15 18:29:06 +03:00
Mikhail Zarechenskiy
e16d16fdb7
Do not report diagnostic about annotation with receiver target twice
2017-09-12 17:39:24 +03:00
Mikhail Glukhikh
13775f8637
Fix broken quick-fix tests (related to KT-17322)
2017-09-08 16:10:54 +03:00
Alexander Udalov
2877314313
Support "::foo" as a short-hand for "this::foo"
...
#KT-15667 Fixed
2017-09-08 10:59:44 +03:00
Toshiaki Kameyama
fe0f44da94
Added "Add remaining branches with import" quick fix #KT-16033 Fixed
2017-09-07 16:24:35 +03:00
Toshiaki Kameyama
a9a52379ee
Quickfix for "variable initializer is redundant" (VARIABLE_WITH_REDUNDANT_INITIALIZER) #KT-5878 Fixed ( #1281 )
2017-09-04 16:58:32 +02:00
Toshiaki Kameyama
be64a6feeb
INAPPLICABLE_LATEINIT_MODIFIER should have a quickfix to remove initializer #KT-18826 Fixed
2017-08-30 15:36:25 +02:00
Alexander Udalov
74ba0080b1
Improve header/impl mismatch diagnostic messages
...
Try to report most mismatch errors on the 'impl' declaration. Only
report a mismatch error on the 'header' declaration if no error would be
otherwise reported on any 'impl' declaration in the compilation unit.
Also render declaration kind in the message
#KT-18447 In Progress
2017-08-25 15:35:05 +03:00
Toshiaki Kameyama
f0f6a252a5
Offer to make INVISIBLE_MEMBER protected if referenced from subclass
...
So #KT-19614 Fixed
2017-08-18 15:53:41 +03:00