Toshiaki Kameyama
5204c73bec
Quick-fix "use spread operator": make working with mapOf #KT-14556 Fixed
2018-05-03 17:11:33 +03:00
Mikhail Glukhikh
c69dd98c86
Build fix: quick-fix tests (forgotten actions)
2018-04-20 20:55:27 +03:00
Vyacheslav Gerasimov
4299455dc1
as32: Update to AS 3.2 C10
2018-04-13 21:33:03 +03:00
Toshiaki Kameyama
52d72ab920
Fix AE exception in "Convert too long character literal to string"
...
So #KT-23608 Fixed
2018-04-11 17:00:38 +03:00
Felix Guo
9539212180
Take Java source file into account in "Add annotation target"
...
So #KT-22860 Fixed
2018-04-11 17:00:37 +03:00
Vyacheslav Gerasimov
06efb037fd
as31: Fix test data for testAddArrayOfTypeForJavaAnnotation
2018-04-11 16:28:20 +03:00
Vyacheslav Gerasimov
8d3f71a04f
172: Revert "Quick Fixes: Support cross-language "Create from Usage" with Kotlin target"
...
This reverts commit 908bf71
2018-04-11 16:28:09 +03:00
Nikolay Krasko
a7d705b5d8
172: Revert "Fix inAnnotation test in 173 branch"
...
This reverts commit 955842f2009a2c5aa9ac955340696bd7e1a2651d.
2018-04-11 16:27:58 +03:00
Mikhael Bogdanov
c5d4f22e4f
Add quick fix for adding @JvmDefault annotation
2018-04-09 18:13:36 +02:00
Toshiaki Kameyama
2d4ef8d1e6
Allow "add constructor invocation" for sealed top-level inheritors
...
So #KT-23320 Fixed
2018-04-03 19:49:32 +03:00
Dmitry Jemerov
a495c2e5ea
Don't run analysis in SpecifyTypeExplicitlyIntention.isAvailable()
...
If type is invalid, show error hint when action is invoked
2018-04-03 18:37:33 +02: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
a67068d37e
Suggest "Add annotation target" quick fix also for field use-site
...
So #KT-23227 Fixed
2018-03-22 10:30:46 +03:00
Mikhail Zarechenskiy
4ebd11a7ae
Refactoring: rename parameter to argument for annotation diagnostics
2018-03-22 03:59:55 +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
f93b21eaa2
Fix "Add function to supertype" braces #KT-23215 Fixed
2018-03-16 12:11:26 +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
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
Alexey Sedunov
96de29dfcb
Create from Usage: Support accessors for local delegated properties
...
#KT-19730 Fixed
2018-03-06 15:15:40 +03:00
Mikhail Glukhikh
24622c0139
Fix two broken tests (missing actions)
2018-02-28 10:31:27 +03:00
Dmitry Savvinov
d570b863ce
Introduce deprecation of companion objects nested classes
...
Introdude deprecation as per KT-21515. Warning is reported on type
usage, that soon will became invisible. Quickfix by adding explicit
import is added.
Idea behind implementation is to mark scopes that are deprecated (see
ClassResolutionScopesSupport).
Then, during walk along hierarchy of scopes, look at deprecation status
of the scope that has provided this classifier.
Note that we also have to check if there are *some* non-deprecated
visibility paths (because we can see classifier by two paths, e.g. if
we've added explicit import) -- then this type reference shouldn't be
treated as deprecated.
2018-02-21 16:04:49 +03:00
Alexey Sedunov
acf6408474
Create from Usage: Fix "Create class" applicability check for when entries
...
#KT-22329 Fixed
2018-02-21 13:21:17 +03:00
Toshiaki Kameyama
a36e8c86f1
KT-22428 Create member function from usage shouldn't present type parameters as options ( #1509 )
...
* KT-22428 Create member function from usage shouldn't present type parameters as options
* Reformat & cleanup
2018-02-17 14:09:44 +03:00
Toshiaki Kameyama
5499078fcc
Make "Specify explicit lambda signature" available on whole lambda
...
So #KT-22492 Fixed
2018-02-13 12:28:50 +03:00
Dmitry Jemerov
5bb195df9b
No space between label and lambda in labeled expressions
...
#KT-22301 Fixed
2018-02-09 10:49:01 +01:00
Alexey Sedunov
049439ce1d
Rename: Update test data (follow-up for unnecessary reformatting fix)
2018-02-06 14:23:20 +03:00
Mikhail Glukhikh
00ceac54fc
Fix "create enum constant" test (create type alias is no longer here)
2018-01-31 13:56:07 +03:00
Toshiaki Kameyama
677b05cc8c
KT-22167 "Add annotation target" quick fix does nothing and disappears from menu
2018-01-30 20:25:08 +03:00
Mikhail Glukhikh
ee3f89df87
Remove unused function parameter: delete empty constructor accurately
...
So #KT-22221 Fixed
Fixes also some quick-fix tests
2018-01-19 16:16:15 +03:00
Toshiaki Kameyama
2a10d8e837
KT-15176 Remove "Create type alias" intention when called on java class
2018-01-18 16:23:40 +03:00
Nikolay Krasko
704ce121bc
Use other property name in Java with Kotlin static import tests
2018-01-17 12:05:06 +03:00
Kirill Rakhman
8bc020f31b
Fix modifier order in generated overriden functions
...
Fixes #KT-21600
2018-01-16 15:42:02 +01:00
Alexey Sedunov
908bf71ae6
Quick Fixes: Support cross-language "Create from Usage" with Kotlin target
2018-01-16 17:06:53 +03:00
Nikolay Krasko
cbfd7088bf
Fix inAnnotation test in 173 branch
2018-01-12 13:54:17 +03:00
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