Commit Graph

3240 Commits

Author SHA1 Message Date
Nikolay Krasko 2cde746047 Usage highlighting test 2015-07-06 21:06:12 +03:00
Valentin Kipyatkov e9b4045eac Fixed test data 2015-07-06 16:48:50 +03:00
Alexander Udalov feb4dd7b8f Drop 'OBJECT$' field deprecated in M11 2015-07-06 16:19:54 +03:00
Evgeny Gerashchenko 01b83b3e3e Minor. Fixed test data. 2015-07-03 19:48:01 +04:00
Alexey Sedunov 5319e9e761 Change Signature: Support configurable Change Signature for Java code
#KT-5923 Fixed
2015-07-03 18:38:06 +03:00
Alexey Sedunov 9e82411e78 Change Signature: Do not process calls with unmatched arguments/parameters 2015-07-03 18:38:05 +03:00
Alexey Sedunov 161539f3da Change Signature: val/var parameter support 2015-07-03 18:38:02 +03:00
Alexey Sedunov 2ff63d37c2 Change Signature: Property support
#KT-6599 Fixed
2015-07-03 18:38:01 +03:00
Evgeny Gerashchenko aa65eb1055 More proper fix for KT-8137/EA-69470: avoiding failed assertion when searching usages of parameter of local class constructor
KT-8137 AE at JetSourceNavigationHelper.convertNamedClassOrObject() on function local class with several constructor parameters

 #KT-8137 fixed
 #EA-69470 fixed
2015-07-03 16:00:06 +03:00
Pavel V. Talanov 9a9d70fd98 Decompiler: do not try to render function types with star projections prettily 2015-07-01 20:45:32 +03:00
Evgeny Gerashchenko 8fcbd44ad4 KT-8137 AE at JetSourceNavigationHelper.convertNamedClassOrObject() on function local class with several constructor parameters
#KT-8137
 #EA-69470 fixed
2015-07-01 19:43:54 +03:00
Valentin Kipyatkov eadeb6e63f DirectiveBasedActionUtils: don't allow to specify ACTION directives that won't be checked anyway 2015-06-30 13:41:41 +03:00
Valentin Kipyatkov db144a6121 Suggestions from expression itself to have higher priority + fixed incorect upper case naming 2015-06-29 19:36:49 +03:00
Valentin Kipyatkov 4a52247ab7 Name validation filters out invisible declarations 2015-06-29 19:36:48 +03:00
Valentin Kipyatkov 5c0195ff68 IterateExpressionIntention: checking for name conflicts 2015-06-29 19:36:48 +03:00
Valentin Kipyatkov de2378f909 Rewritten NameValidatorImpl to be both more efficient and more correct 2015-06-29 19:36:47 +03:00
Valentin Kipyatkov df5f035760 KT-7716 Introduce Variable's name suggestions often have "1" at the end for no real reason
#KT-7716 Fixed
2015-06-29 19:36:46 +03:00
Valentin Kipyatkov e00294d17b IterateExpressionIntention uses collection expression for name suggestions too 2015-06-29 19:36:45 +03:00
Valentin Kipyatkov 2206459874 Initial implementation of KT-7688 Intention action to iterate over iterable value
#KT-7688 Fixed
2015-06-29 19:31:21 +03:00
Valentin Kipyatkov 498e746689 KT-8169 Strange exception when replacing function call to its only argument
#KT-8169 Fixed
2015-06-29 19:29:26 +03:00
Valentin Kipyatkov 463b0cda79 Fixed test data 2015-06-29 19:29:26 +03:00
Valentin Kipyatkov 46ad1b8573 "Remove argument name" intention 2015-06-29 19:29:26 +03:00
Valentin Kipyatkov 6988297511 More informative intention text 2015-06-29 19:29:26 +03:00
Valentin Kipyatkov 98c0c636b3 Smaller availability range for add argument name intention 2015-06-29 19:29:26 +03:00
Valentin Kipyatkov 9d83510af5 KT-7144 Intention action on an argument in a call to use named arguments form
#KT-7144 Fixed
2015-06-29 19:29:25 +03:00
Valentin Kipyatkov c689af142a Fixed highlighting for enum and object names in code
#KT-8134 Fixed
2015-06-29 19:29:25 +03:00
Valentin Kipyatkov 2bd1362be6 Create function/property from usage: added "member" when appropriate + changed order 2015-06-29 19:29:25 +03:00
Ilya Gorbunov 0e896ea1bb Drop streams and iterators: correct test data. 2015-06-29 17:06:49 +03:00
Alexey Sedunov 4eeff03525 Change Signature: Support Kotlin functions overriding Java methods
#KT-5856 Fixed
2015-06-27 13:58:13 +03:00
Alexey Sedunov 1469275a5a Extract Function: Fix return type computation for extracted callee expression
#KT-8233 Fixed
2015-06-27 13:58:09 +03:00
Alexey Sedunov febf725e85 Extract Function: Extract block contents
#KT-8235 Fixed
2015-06-27 13:58:07 +03:00
Alexey Sedunov 4e7200d8e8 Extract Function: Add backticks to non-identifiers and references originally surrounded in backticks
#KT-8192 Fixed
2015-06-27 13:58:06 +03:00
Alexey Sedunov c6f6637b25 Extract Function: Fix extraction of explicit/implicit invoke()
#KT-8116 Fixed
2015-06-27 13:58:04 +03:00
Alexey Sedunov f6965b5004 PSI: Add parentheses around annotated expressions in returns
#KT-8260 Fixed
2015-06-27 13:58:03 +03:00
Alexey Sedunov 8c9863e759 PSI: Add parentheses around non-trivial callee expressions
#KT-8232 Fixed
2015-06-27 13:58:02 +03:00
Alexey Sedunov 5d89097870 Move: Fix processing of references with qualifier receivers
#KT-8098 Fixed
2015-06-27 13:57:59 +03:00
Valentin Kipyatkov 53688d061a Fixed name suggestions for types with abbreviations like "URL" 2015-06-25 21:57:13 +02:00
Denis Zharkov ad99b079b9 Update intention tests: don't use java.util.Collections.*
Because their behaviour depends on annotations that we are going to drop
2015-06-23 16:44:46 +03:00
Nikolay Krasko 3d8f04e4fe Update test data: Idea can't parse description with "ctrl+ alt + b" promotion 2015-06-23 15:59:38 +03:00
Natalia Ukhorskaya aaa4e747db Fix tests: type for string isn't now rendered by default 2015-06-23 15:59:19 +03:00
Pavel V. Talanov 1ef125fa2c Change testa data according to semantics change 2015-06-23 14:35:46 +03:00
Natalia Ukhorskaya 8bb33f0df5 Support labels evaluation in debugger 2015-06-22 10:40:12 +03:00
Ilya Gorbunov f2788d53c0 Refactor: rename PropertyMetadata parameter from 'desc' to 'property'.
Correct test data after parameter has been renamed.
2015-06-19 23:08:08 +03:00
Nikolay Krasko d1e7e184b6 Do psi-only checks to avoid unnessasary resolve in creating recursion markers 2015-06-19 14:15:17 +03:00
Alexey Sedunov 378c1744cb Introduce Parameter: Suggest removing extension receiver which becomes unused after new parameter is added 2015-06-18 19:28:06 +03:00
Alexey Sedunov 5409b19abc Change Signature: Do not replace implicit receivers in calls with at least one explicit receiver
#KT-7988 Fixed
2015-06-18 19:28:05 +03:00
Alexey Sedunov d58112a32a Extract Function: Use intersection type to compute candidate types for parameters
#KT-8103 Fixed
2015-06-18 19:28:04 +03:00
Alexey Sedunov 683a8895df Introduce Variable: Do not insert unused variable references
#KT-7227 Fixed
2015-06-18 19:28:02 +03:00
Alexey Sedunov 1506531e59 Rename: Fix class rename by constructor reference 2015-06-18 19:28:01 +03:00
Alexander Udalov 1a3209e1dc Drop traits with required classes
#KT-4771 Rejected
2015-06-17 16:23:58 +03:00