Nikolay Krasko
24865ba26a
Allow deprecated fix for TYPEALIAS_EXPANSION_DEPRECATION
2017-07-28 01:28:56 +03:00
Nikolay Krasko
53373b66b9
Do not replace in alias when constructor has special pattern (KT-19202)
...
#KT-19202 Fixed
2017-07-28 01:28:56 +03:00
Valentin Kipyatkov
996292264b
Fixed inline when multiple implicit receivers exist
...
#KT-17776 Fixed
#KT-17266 Fixed
2017-07-27 13:55:25 +03:00
Nikolay Krasko
732d1129ab
Enable replace for deprecated alias in whole project (KT-14929)
...
#KT-14929 Fixed
2017-07-26 14:20:59 +03:00
Nikolay Krasko
5df2698f77
Enable ReplaceWith for type aliases (KT-14929)
...
#KT-14929 Fixed
2017-07-26 14:20:57 +03:00
Dmitry Jemerov
a379a814ba
Implement option for wrapping class annotations
2017-07-07 16:48:31 +02:00
Valentin Kipyatkov
c69375ebdc
Remove redundant curly braces in string templates on inline
2017-05-26 16:37:37 +03:00
Valentin Kipyatkov
55979aca74
Drop result value if it's not needed
2017-05-26 16:37:35 +03:00
Dmitry Petrov
c83b764c73
Update testData after changes in diagnostics
2017-05-26 13:58:46 +03: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
Mikhail Zarechenskiy
0c6a860a22
ReplaceWith annotation resolver: use module from resolution facade to build imports scope
...
#KT-15873 Fixed
Using module from original element may lead to exceptions as it could be
<built-ins module> (after deprecation of `mod` operator)
2017-01-27 14:13:13 +03:00
Mikhael Bogdanov
5222768ba1
Adedd quickfix check if @PublishedApi stub already exists
2016-12-20 09:42:14 +01:00
Mikhael Bogdanov
c38b55612b
Support properties in @PublishedApi bridge quickfix
2016-12-20 09:42:13 +01:00
Mikhael Bogdanov
5ffc0b36b0
Quickfix for published api
2016-12-09 11:55:16 +01:00
Valentin Kipyatkov
330d3a255a
introduceValue() always adds statement before except for safe call case
2016-11-08 12:46:42 +03:00
Alexander Udalov
9be219b69c
Check presence of dispatch receiver parameter in modifier checks
...
Also fix typo in "inapplicable infix" diagnostic message
2016-07-22 18:13:39 +03:00
Alexander Udalov
2a390155a9
Fix quotes in diagnostic messages
...
See 8316953259
2016-07-22 18:13:38 +03:00
Yan Zhulanow
6752df189d
Make infix modifier diagnostic message more informative (KT-12589)
...
(cherry picked from commit 2744309)
2016-06-24 15:10:19 +03:00
Mikhail Glukhikh
4abcc278fd
Can be constructor property: comment saver introduced to retain comments; unbound comments now added before, not after
...
(cherry picked from commit 886cf21)
2016-06-21 22:23:23 +03:00
Alexander Udalov
ca76e4d426
Support new double colon expressions in IDE code
2016-05-26 22:22:41 +03:00
Pavel V. Talanov
a4c005fefd
Update existing test data depending on diagnostic parameter rendering
2016-02-26 14:45:11 +03:00
Alexander Udalov
1b8f934b54
Delete deprecated enum 'values' property
2016-02-19 22:28:44 +03:00
Yan Zhulanow
3fa506fd45
"Inapplicable operator modifier" and "Inapplicable infix modifier" are now errors
2016-01-26 17:21:44 +03:00
Ilya Gorbunov
4f1d2252f0
Make test for replacement, which requires adding import to the package with operator, independent from stdlib.
2016-01-22 05:54:38 +03:00
Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Mikhail Glukhikh
dc60c62781
Enum.values is now deprecated but Enum.values() is no more deprecated
2015-11-23 17:29:36 +03:00
Valentin Kipyatkov
e66f1c2d70
KT-9981 Code cleanup replace usages of !in incorrectly
...
#KT-9981 Fixed
2015-11-13 14:32:33 +03:00
Valentin Kipyatkov
de11d571ef
KT-9928 Replacement not offered for a usage of symbol deprecated with DeprecationLevel.ERROR
...
#KT-9928 Fixed
2015-11-11 16:49:52 +03:00
Svetlana Isakova
7150be7c67
Minor: fixed error message
2015-10-22 19:09:46 +03:00
Valentin Kipyatkov
28c950ffbe
Better replacement for annotations with parameters in ReplaceWIth pattern but still lot of safety pre-checks to be added
2015-10-19 19:22:26 +03:00
Valentin Kipyatkov
4290601807
VERY rough implementation of annotations with parameters in ReplaceWIth pattern
2015-10-19 19:22:26 +03:00
Valentin Kipyatkov
a8d9c761c8
Correct detection of non-qualified references in ReplaceWith analyzer
2015-10-19 18:40:15 +03:00
Denis Zharkov
d8ede6d03e
Transform Enum.values to property
2015-10-17 17:46:16 +03:00
Denis Zharkov
f0e3fd617d
Adjust testData to CharSequence.length transformation
2015-10-14 20:39:35 +03:00
Valentin Kipyatkov
2ae13ed76b
KT-9380 Handle malformed ReplaceWith annotations gracefully
...
#KT-9380 Fixed
2015-10-05 15:33:45 +03:00
Dmitry Jemerov
4ca434da54
remove support for 'trait' keyword
2015-09-22 15:00:24 +02:00
Valentin Kipyatkov
8ba7f2c238
KT-9128 ReplaceWith incorrectly converts javaClass<X>() to X::class.java for type with arguments
...
#KT-9128 Fixed
2015-09-18 15:44:17 +03:00
Valentin Kipyatkov
fb72786392
No ReplaceWith for locals
2015-09-18 15:44:16 +03:00
Denis Zharkov
4850fd10f0
Regenerate test data containing rendered descriptors
...
Introduced '@' after each annotation
2015-09-18 10:14:39 +03:00
Michael Nedzelsky
92ca057b4a
fix tests in org.jetbrains.kotlin.idea.quickfix
2015-09-08 02:05:41 +03:00
Denis Zharkov
31244edec9
Deprecate deprecated in favor of Deprecated
2015-09-04 18:19:31 +03:00
Valentin Kipyatkov
4085c1cf41
One more test
2015-09-03 15:56:00 +03:00
Valentin Kipyatkov
64e520b689
Moved test data
2015-09-03 15:56:00 +03:00
Valentin Kipyatkov
c5891d255d
Added test
2015-09-03 15:55:59 +03:00
Valentin Kipyatkov
6575fb8535
Annotations supported
...
#KT-8912 Fixed
2015-09-03 15:55:59 +03:00
Valentin Kipyatkov
366204da85
Constructor usages are replaced too
2015-09-03 15:55:59 +03:00
Valentin Kipyatkov
de13e23a0a
Initial support for class usages replacement with ReplaceWith
2015-09-03 15:55:59 +03:00
Valentin Kipyatkov
8dbe87a918
Moved classes
2015-09-03 15:55:58 +03:00
Valentin Kipyatkov
37ed77467f
Fixed ReplaceWith quickfix not working when synthetic extensions are used in the pattern
2015-09-03 15:55:57 +03:00
Valentin Kipyatkov
10f7d6d7dd
Inspection (and quickfix) for extension propeties conflicting with synthetic ones
2015-09-03 15:55:54 +03:00