Commit Graph

3460 Commits

Author SHA1 Message Date
Alexey Sedunov 14c657d448 Extract Function: Consider reference "broken" if corresponding diagnostics are changed after code fragment extraction
#KT-8633 Fixed
2015-09-06 18:04:39 +03:00
Alexey Sedunov e03067846f Extract Function: Ignore internal smartcasts
#KT-8458 Fixed
2015-09-06 18:04:37 +03:00
Dmitry Jemerov 55640ac885 assorted Find Usages fixes: add missing read actions, better cancellation, fix search of componentN() usages for data class primary constructor parameter, remove workaround for usage of IDEA API which is now public 2015-09-04 18:25:36 +02:00
Mikhail Glukhikh eab288bdd7 annotation() now has no arguments. Syntax migration to Retention / Repeatable / MustBeDocumented combination
Deprecated test for annotation(params) completion deleted. A lot of tests changed.
2015-09-04 19:21:12 +03:00
Denis Zharkov 31244edec9 Deprecate deprecated in favor of Deprecated 2015-09-04 18:19:31 +03:00
Denis Zharkov 952d45dc8b Deprecate JVM platform annotations in favor of capitilized themselves 2015-09-04 18:19:31 +03:00
Denis Zharkov 26f9bd7b63 Deprecate some of JVM flag annotations in favor of capitilized themselves 2015-09-04 18:19:31 +03:00
Denis Zharkov bbc192fda5 Deprecate suppress annotation in favor of Suppress 2015-09-04 17:23:25 +03:00
Denis Zharkov 11fed1674e Deprecate extension annotation in favor of Extension 2015-09-04 17:23:25 +03:00
Dmitry Jemerov fcb8b796c4 change expected testdata 2015-09-04 15:05:11 +02:00
Natalia Ukhorskaya 060b6e6b15 Debugger: support stepping out inline function 2015-09-04 11:40:22 +03:00
Natalia Ukhorskaya 73946050c1 Debugger: support stepping over inline function 2015-09-04 11:40:20 +03:00
Alexey Sedunov e4dd30599e Extraction Engine: Forbid extraction of non-singleton qualifiers
#KT-8297 Fixed
2015-09-03 22:06:20 +03:00
Alexey Sedunov 1db7195e94 Extract Function: Fix callee replacement in operation expressions
#KT-8294 Fixed
2015-09-03 22:06:18 +03:00
Alexey Sedunov 1ca3c5e3b8 PSI Unifier: Use convention-based call for array access expressions when comparing elements by resolved calls
#KT-8312 Fixed
2015-09-03 22:06:17 +03:00
Alexey Sedunov d7e79e7f28 Introduce Variable: Forbid inside of type references and 'super' references
#KT-8324 Fixed
2015-09-03 22:06:15 +03:00
Alexey Sedunov fa8fcb53c5 Introduce Variable: Forbid extraction from class initializer (aside of its
body)
 #KT-8329 Fixed
2015-09-03 22:06:13 +03:00
Alexey Sedunov c005fe613f Introduce Variable: Fix extraction of expression from when-entry condition
#KT-8444 Fixed
2015-09-03 22:06:12 +03:00
Alexey Sedunov 3038e2382b Introduce Variable: Forbid in the class body and at the top level
#KT-8735 Fixed
2015-09-03 22:06:11 +03:00
Alexey Sedunov 0f5dff483a Introduce Variable: Proper occurrence search in generated block expression
#KT-7836 Fixed
 #KT-8443 Fixed
 #EA-71411 Fixed
2015-09-03 22:06:09 +03:00
Alexey Sedunov b2eb53e4b2 Move/Change Package: Package name validation
#EA-70631 Fixed
2015-09-03 22:06:06 +03:00
Michael Nedzelsky 3a4dfc5241 remove requirements for explicit return type for public members 2015-09-03 18:23:04 +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 16650e8f5c Conflicting extension is recognized as redundant for setter with expression body 2015-09-03 15:55:57 +03:00
Valentin Kipyatkov 086d29a44a Added second quickfix on conflicting extension to mark it hidden and deprecated 2015-09-03 15:55:56 +03:00
Valentin Kipyatkov b2ea369129 Don't report conflicting extension for marked with @HiddenDeclaration 2015-09-03 15:55:56 +03:00
Valentin Kipyatkov 10f7d6d7dd Inspection (and quickfix) for extension propeties conflicting with synthetic ones 2015-09-03 15:55:54 +03:00
Nikolay Krasko 1132652026 Update to 142.4245.2: Temprorary modify test data after IDEA update
The problem is in order of cleanup actions. Each action can invalidate psi and that can prevent next action from execution.
2015-09-02 15:10:43 +03:00
Natalia Ukhorskaya ffe41b88a7 Update to 142.4245.2: Debugger tests: changes in testData 2015-09-02 15:10:41 +03:00
Nikolay Krasko 339f8ee2ab Update to 142.4245.2: Fix test data in pull up 2015-09-02 15:10:40 +03:00
Nikolay Krasko 73a24435f7 Make Kotlin light classes pass "element instanceof StubBasedPsiElement" in LocalSearchScope scope 2015-09-02 13:49:10 +03:00
Denis Zharkov c59b118b09 Implement quckfix adding explicit upper bounds for generic when needed 2015-09-02 12:04:08 +03:00
Denis Zharkov c17451cf5c Add quickfix for JAVA_TYPE_MISMATCH 2015-09-02 12:03:52 +03:00
Stanislav Erokhin 5ded315cbb Improved error reporting for candidates with wrong parameter count 2015-09-01 23:37:42 +03:00
Michael Nedzelsky be2324031d decompiled text: add test for inherited interface 2015-09-01 15:06:45 +03:00
Nikolay Krasko add43407d3 Overridden methods with generic type shows no implementations found (KT-8723)
#KT-8723 Fixed
2015-09-01 12:45:12 +03:00
Valentin Kipyatkov 937f243046 DeprecatedSymbolUsageInWholeProjectFix removes imports too 2015-08-31 15:48:25 +03:00
Valentin Kipyatkov e98edbcbac Code cleanup to remove deprecated symbol imports that have ReplaceWith 2015-08-31 15:48:25 +03:00
Yan Zhulanow 2ce9903356 Fix tests 2015-08-31 15:33:13 +03:00
Dmitry Jemerov 37c40c9a23 change the origin of light methods for property accessors to the property itself 2015-08-31 12:18:25 +02:00
Dmitry Jemerov e283dbb8f4 when renaming a companion object, filter out references to companion object via its containing class, which shouldn't be updated by the rename 2015-08-31 12:08:13 +02:00
Dmitry Jemerov e99316d22e rename tests: defaultObject -> companionObject 2015-08-31 12:08:12 +02:00
Alexander Udalov 29abf94327 Prohibit clone() for enum classes
#KT-8972 Fixed
2015-08-28 21:11:02 +03:00