Toshiaki Kameyama
cea879cbd5
"Make containing function suspend" quickfix: don't suggest for anonymous function
...
#KT-38948 Fixed
2020-06-01 21:42:02 +09:00
Roman Golyshev
1dded486f1
i18n: fix bundle messages/testData messages where necessary
2020-03-16 18:40:47 +07:00
Dmitry Gridin
6c439ae85a
Create TrailingCommaIntention
...
#KT-34744
2020-02-04 21:34:53 +07:00
Toshiaki Kameyama
716036a000
RemoveModifierFix: fix message for 'companion object'
...
#KT-35604 Fixed
2019-12-27 15:38:32 +03:00
Toshiaki Kameyama
fbd992f8c7
Add intentions to convert lazy <--> ordinary property
...
#KT-23501 Fixed
2019-06-17 01:10:19 +03: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
Toshiaki Kameyama
f861b10798
Add "Add getter/setter" quick fix for uninitialized property
...
#KT-30078 Fixed
2019-04-04 11:10:39 +07:00
Vadim Brilyantov
0ec3d15218
#KT-19924: Fix usability issue with extract declaration from file intention
...
Fix ExtractDeclaration intention name in tests
Fix ExtractDeclaration intention folder and description to avoid "not found Dir URL" exception
2019-02-26 15:35:15 +03:00
Dmitry Gridin
147521d6cb
Add intention to introduce import alias
...
#KT-16118 Fixed
#KT-30007 Fixed
2019-02-21 12:25:09 +03:00
Toshiaki Kameyama
5e7d974767
"Make open": Fix false positive for data class inheritance #KT-27354 Fixed
2018-10-03 08:53:03 +03:00
Mikhail Zarechenskiy
2e88f5c47d
Prohibit operator mod as declaration and calls that resolved via it
...
#KT-24197 Fixed
2018-07-02 16:12:36 +03:00
Toshiaki Kameyama
1e31d24e9b
Add "Remove 'const'" quickfix for TYPE_CANT_BE_USED_FOR_CONST_VAL
...
So #KT-24815 Fixed
2018-06-19 12:48:13 +03: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
Dmitry Jemerov
43ef113b7a
Correctly apply annotation wrap before modifier keyword
...
#KT-20314 Fixed
2017-12-22 10:35:22 +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
Alexey Sedunov
aabe23d410
Minor: Fix coroutine package name in quick fix tests
2017-10-02 18:14:04 +03:00
Toshiaki Kameyama
f8cf0f2ab9
Misleading quick fix message for an 'open' modifier on an interface member #KT-18738 Fixed
2017-07-18 18:59:22 +09:00
Mikhail Zarechenskiy
ee173077c0
Simplify diagnostic when there are wrong number of type arguments
...
#KT-12767 Fixed
2017-07-12 14:37:27 +03:00
Dmitry Petrov
c83b764c73
Update testData after changes in diagnostics
2017-05-26 13:58:46 +03:00
Dmitry Petrov
7979663e6c
Update testData for changed diagnostic messages
2017-05-26 13:58:46 +03:00
Mikhail Glukhikh
a73cf0e1fe
Don't suggest make object container open #KT-11003 Fixed
2017-05-19 20:36:24 +03:00
Kirill Rakhman
cd07aea5e3
Add quickfix for adding 'lateinit'
...
Fixes #KT-17650
2017-05-05 11:09:07 +03:00
Dmitry Jemerov
79c814636e
Convert AddOpenToClassDeclarationTest to regular multifile quickfix test
2017-03-27 19:48:52 +02:00
Dmitry Jemerov
e2f75463d7
Rewrite AbstractQuickFixTest based on light fixture test case
...
Don't reconfigure runtime before every test. For consistency,
mark tests that require the runtime with directives instead of relying
on test file names.
2017-03-27 19:48:43 +02:00
Denis Zharkov
4ee818addf
Add callee name to diagnostic about illegal suspension call
...
#KT-15938 Fixed
2017-02-08 11:07:26 +03:00
Mikhail Glukhikh
6db698f5aa
Correct order added for 'suspend' modifier #KT-16104 Fixed
2017-02-03 18:24:47 +03:00
Mikhail Glukhikh
9fdf16e5d7
Quick-fix to add 'suspend' to the receiver of startCoroutine / createCoroutine #KT-15738 Fixed
2017-01-27 23:39:04 +03:00
Mikhail Glukhikh
bfb31a465f
Quick-fix to add 'suspend' to the containing function #KT-15800 Fixed
2017-01-24 15:17:55 +03:00
Alexey Sedunov
534a773816
Intentions: Implement intention which converts object literal to class
...
#KT-15056 Fixed
2017-01-10 21:16:12 +03:00
Alexey Sedunov
6b57a3e338
Intentions: Implement intention which rename file according to the top-level class name
...
#KT-15068 Fixed
2017-01-10 21:16:08 +03:00
Mikhail Zarechenskiy
40ff7c6e33
Fix test data
2016-12-09 21:08:29 +03:00
Mikhail Zarechenskiy
373c1be7e4
Add quick fixes for mod/rem migration
...
- Remove 'operator' modifier
- Rename operator 'mod/modAssign' to 'rem/remAssign'
2016-12-09 17:01:42 +03:00
Mikhail Glukhikh
32d11c35a4
KT-12297 related: make not open quick-fix for REDUNDANT_OPEN_IN_INTERFACE
2016-09-16 16:25:57 +03:00
Alexander Udalov
83000c50ff
Remove quotes around visibility in invisible member diagnostic
2016-07-22 18:13:41 +03:00
Alexander Udalov
70a994b135
Drop resolution of deprecated plus/minus/get/set conventions
...
Also remove the corresponding quick fix
2016-06-29 19:21:05 +03:00
Pavel V. Talanov
7de171efda
Improve message clarity for WRONG_NUMBER_OF_TYPE_ARGUMENTS diagnostics
...
#KT-9887 Fixed
2016-03-31 16:06:48 +03:00
Alexander Udalov
8316953259
Fix double quotes in diagnostic messages
...
For diagnostics without any parameters, the given text is simply rendered as a
String, so no symbols should be escaped.
For diagnostics with parameters, the format in java.text.MessageFormat is used,
so one single quote is erased and two single quotes become one single quote in
the rendered text.
2016-03-30 21:41:43 +03:00
Mikhail Glukhikh
bace881463
Quick fix to make var with private setter final #KT-10859 Fixed
2016-03-17 18:18:07 +03:00
Pavel V. Talanov
a4c005fefd
Update existing test data depending on diagnostic parameter rendering
2016-02-26 14:45:11 +03:00
Alexey Sedunov
cac479102a
Remove Supertype Quick-Fix: Convert to Kotlin & refactor
2016-01-13 17:47:16 +03:00
Alexey Sedunov
b8a8f1638f
Change Visibility Modifier Quick-Fix: Convert to Kotlin & refactor
2016-01-13 17:47:06 +03:00
Alexey Sedunov
4de26bed93
Minor: Add test for now-obsolete KT-8035 "Extended class is not open" quickfix fails on nested classes "
2015-12-25 18:51:03 +03:00
Denis Zharkov
1a6f9b8d1c
Do not build inner type for error classes
...
#KT-10409 Fixed
2015-12-17 19:56:38 +03:00
Andrey Breslav
421f84e05a
Error messages fixed for deprecations that have been made errors
2015-12-09 17:10:30 +03:00
Alexander Udalov
7b3b157707
Remove PropertyMetadata from project and bytecode, migrate code to KProperty
2015-11-27 23:34:34 +03:00
Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Valentin Kipyatkov
3c1538997e
Fixed "Make class open" in case of primary constructor
...
#KT-9767 Fixed
2015-10-30 17:25:36 +03:00
Valentin Kipyatkov
fc924d1c9f
Not operator
2015-10-30 17:25:35 +03:00
Nikolay Krasko
41cbc12d7f
Don't propose to make objects abstract (KT-9795)
...
#KT-9795 Fixed
2015-10-29 14:37:15 +03:00
Alexey Sedunov
3d88df73e0
Minor: Fix spelling of intention text
...
#KT-9639 Fixed
2015-10-20 18:39:48 +03:00