Pavel Kirpichenkov
55cb9561c2
Provide better error messages for read-only delegate
...
Split error reporting into two parts for incorrect and missing candidates.
Missing function error is not reported on provideDelegate.
Update error factory and default message for error.
Update error texts in quick fix test data.
#KT-16526 Fixed
2019-09-12 14:58:21 +03:00
Dmitry Gridin
c4a1101600
KtSimpleNameReference: add root prefix support to bindToFqName function
2019-09-05 18:01:23 +07:00
Igor Yakovlev
7b2f39530a
Fix invalid testdata for ConvertToScopeIntention applicability
2019-08-28 16:31:49 +03:00
Igor Yakovlev
1e72116a9c
Fix test data for intention tests
...
The ExtractDeclarationFromCurrentFileIntention applicability range was changed by commit 3b35c2d24 so the test data of several test comes invalid
2019-08-28 13:07:33 +03:00
Dereck Bridie
8f2a73b734
KT-28471: "Add initializer" quickfix initializes non-null variable with null
2019-08-23 14:15:08 +07:00
Dmitry Gridin
cf3b92d80e
CreateTypeParameterFromUsageFix: fix KNPE for type alias
...
#KT-33302 Fixed
#EA-120181 Fixed
2019-08-20 17:04:00 +07:00
Toshiaki Kameyama
3742993dea
Change to star projection: do not suggest when type paramer is generic type
...
#KT-30794 Fixed
2019-07-31 20:51:57 +03:00
Dmitry Gridin
c76ca988eb
KotlinCreateTestIntention: disallow intention for expect classes
...
#KT-26242 Fixed
2019-07-23 16:24:16 +03:00
Mikhail Glukhikh
5afa5de1d7
ReplaceWith: don't keep class literal & callable reference in inlining
...
#KT-30197 Fixed
2019-07-10 15:10:51 +03:00
Toshiaki Kameyama
64780293d3
"Redundant visibility modifier" inspection: don't report for property getter
...
#KT-32347 Fixed
2019-07-08 16:14:35 +03:00
Dmitry Gridin
074829bcea
Import: IDE should import class from root package
...
#KT-21422 Fixed
2019-07-02 11:54:38 +07:00
Toshiaki Kameyama
fb94cb141f
Add "Add constructor parameter" quick fix for NO_VALUE_FOR_PARAMETER
...
#KT-27353 Fixed
2019-06-27 19:19:25 +07:00
Toshiaki Kameyama
e3c9134904
Add "Convert to notNull delegate" quick fix for INAPPLICABLE_LATEINIT_MODIFIER
...
#KT-12515 Fixed
2019-06-26 17:07:32 +07:00
Dmitry Gridin
22a73bc09d
ChangeFunctionSignatureFix: fix wrong result
...
#KT-32001 Fixed
2019-06-19 18:52:53 +07:00
Toshiaki Kameyama
fbd992f8c7
Add intentions to convert lazy <--> ordinary property
...
#KT-23501 Fixed
2019-06-17 01:10:19 +03:00
Toshiaki Kameyama
0fad3fafa8
Replace deprecated symbol usage: fix message in case of generic parameter
...
#KT-8958 Fixed
2019-06-13 23:16:31 +03:00
Dmitry Gridin
74c177fd26
Convert FoldInitializerAndIfToElvisIntention to inspection and decrease severity to INFO
...
#KT-19643 Fixed
2019-06-07 12:23:54 +07:00
Dmitry Gridin
8b0b135112
Add new line after modifier list if last child is comment
...
#KT-30804 Fixed
2019-06-07 12:23:06 +07:00
Dmitry Gridin
21c10af1a7
Fix tests in quickfix
2019-05-31 18:00:56 +07:00
Dmitry Gridin
605ee041a9
Remove CreateTypeAliasFromUsageFix
...
Relates to #KT-31519
2019-05-31 18:00:56 +07:00
Dmitry Gridin
f5796a303d
Fix tests
...
Relates to #KT-30622
2019-05-29 11:00:28 +07:00
Matthew Runo
39f576d75c
Migrate RetentionPolicy arguments in deprecated Java quick-fix
...
#KT-29666 Fixed
2019-05-13 15:35:46 +03:00
Igor Yakovlev
bb071263b0
Fix JVMStatic annotation for UL-properties
2019-05-13 11:21:12 +03:00
Igor Yakovlev
0d31df7fb7
Fix invalid test data for static import quick fix
2019-05-13 11:21:12 +03:00
Dmitry Gridin
ff26acacf9
Optimize Imports shouldn't delete imports with unresolved parts
...
#KT-10512 Fixed
2019-05-06 18:12:39 +07:00
Dmitry Gridin
96ed33e357
Optimize Imports should remove unused import alias
...
#KT-17375 Fixed
2019-05-06 18:10:52 +07:00
Mikhail Zarechenskiy
d4d1648e1d
[IDE-NI-MIGRATE] Migrate QuickFix tests for new inference
2019-05-06 13:59:24 +03:00
Vyacheslav Gerasimov
2bc11cbd58
Remove as32 bunch files
2019-04-23 17:28:41 +03:00
Vyacheslav Gerasimov
952d2b6287
Remove 181 bunch files
2019-04-23 17:28:41 +03:00
Nikolay Krasko
b83d07ae9a
Assert new quick fixes don't use resolve
2019-04-22 15:11:10 +03:00
Toshiaki Kameyama
bf5b559923
Add function supertype: make abstract function in sealed class
...
#KT-30769 Fixed
2019-04-22 16:11:59 +07:00
Toshiaki Kameyama
f2c7b6b8c4
Convert to anonymous object: don't remove type arguments
...
#KT-30208 Fixed
2019-04-22 16:09:53 +07:00
Toshiaki Kameyama
607325c6e5
Add "Round using roundToInt/roundToLong" quick fix
...
#KT-30389 Fixed
2019-04-11 18:58:05 +03:00
Nikolay Krasko
a9beb04cb7
Fix RemoveExpressionTargetFix and don't remove the whole annotation (KT-25574)
2019-04-09 11:47:29 +03:00
Toshiaki Kameyama
58b6360388
Add quick fixes for RESTRICTED_RETENTION_FOR_EXPRESSION_ANNOTATION (KT-25574)
2019-04-09 11:47:29 +03:00
Dmitry Gridin
4f8e29ad23
Fix import quickfix if import has import alias
...
#KT-30669 Fixed
#KT-7380 Fixed
#KT-30663 Fixed
2019-04-05 20:01:11 +07:00
Toshiaki Kameyama
f861b10798
Add "Add getter/setter" quick fix for uninitialized property
...
#KT-30078 Fixed
2019-04-04 11:10:39 +07:00
Dmitry Gridin
c8ea62a0d9
Change function signature should change type parameters
...
#KT-22896 Fixed
2019-04-02 22:53:13 +07:00
Dmitry Gridin
09b58403b9
Improve "ReplaceWith" for class with generic parameter
...
#KT-27089 Fixed
2019-03-29 22:35:03 +07:00
Dmitry Gridin
88b0db6dd7
ReplaceWith intention could save generic type arguments
...
#KT-21195 Fixed
2019-03-29 22:35:03 +07:00
Dmitry Gridin
5802928e52
False positive "unused constructor" for local class
...
#KT-30637 Fixed
2019-03-28 10:52:23 +07:00
Dmitry Gridin
dbe0b4aa71
Unused symbol inspection should detect enum entry
...
#KT-30612 Fixed
2019-03-27 11:46:30 +07:00
Dmitry Gridin
74cd53963d
Fix false positive "Unused symbol" for type alias & private nested class/object
...
#KT-21526 Fixed
#KT-30527 Fixed
2019-03-25 16:32:28 +07:00
Toshiaki Kameyama
cbdc79fcda
Add when branches: remove unnecessary blank line
...
#KT-30426 Fixed
2019-03-21 10:58:11 +03:00
Dmitry Gridin
600a955a51
Fix false positive "Unused import" for type alias
...
#KT-29977 Fixed
2019-03-20 20:28:22 +07:00
Toshiaki Kameyama
4e3d13fcee
Change to star projection: do not suggest in arguments or receiver
...
#KT-23259 Fixed
2019-03-20 20:12:06 +07:00
Dmitry Gridin
daf8df9e4b
Fix flaky test AddReturnToUnusedLastExpressionInFunction/Nothing
2019-03-19 11:29:53 +07:00
Dmitry Gridin
d333a0ad4e
Allow "Create class" action in return statement
...
#KT-22137 Fixed
2019-03-15 17:33:14 +07:00
Dmitry Gridin
220cb95b85
Move caret to class name after creating it from "CreateFromUsage" action
...
Relates to #KT-24631
2019-03-15 17:27:06 +07:00
Dmitry Gridin
179dfce3a8
Fix false positive for type error in intentions AddReturnTo...
...
Relates to #KT-25272
2019-03-14 10:52:59 +07:00