Pavel V. Talanov
b9ce9f8576
Script, IDE: tweak extract based refactorings to behave better in scripts
...
Fix not being able to invoke introduce variable for top level script expression
Prohibit introduce parameter and introduce property for scripts on top level
Basic test for introduce function (produces red code atm)
2015-12-02 15:14:25 +03:00
Alexey Sedunov
1b162e0294
Introduce Parameter: Support extraction of string template fragments
2015-11-24 20:40:21 +03:00
Alexey Sedunov
aeee8bafe6
Name Suggester: Suggest parameter name for the corresponding argument expression
...
#KT-8111 Fixed
2015-11-16 11:29:59 +03:00
Denis Zharkov
bd37a10677
Transform *Array.size to properties
2015-10-16 18:16:02 +03:00
Alexey Sedunov
007c7c17f0
Create parameter: Forbid inplace refactoring if occurrences contain out-of-parentheses lambda arguments. Fix lambda argument replacement
...
#KT-9307 Fixed
2015-10-01 17:35:21 +03:00
Stanislav Erokhin
aaebe70342
Improved logic of finding conflicts for refactoring actions
2015-08-27 12:01:08 +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
de2378f909
Rewritten NameValidatorImpl to be both more efficient and more correct
2015-06-29 19:36:47 +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
09565c78c5
Introduce parameter: Do not substitute references which don't resolve to parameters or receivers of the target function #KT-7965 Fixed
2015-06-16 21:15:32 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Alexey Sedunov
7831e75955
Change Signature: Introduce variable for expression which can't be safely copied in the course of argument substitution
2015-04-27 23:02:39 +03:00
Alexey Sedunov
14f63cdce5
Change Signature: Substitute parameter references in default values of call expression arguments
2015-04-27 23:02:38 +03:00
Alexey Sedunov
bf13f7e637
Introduce Parameter: Do not remove unused parameters if new parameter is extracted with default value
2015-04-17 16:30:28 +03:00
Alexey Sedunov
da14222c4a
Introduce Parameter: Do not apply to expressions of type Unit or Nothing
2015-04-10 21:57:07 +03:00
Alexey Sedunov
918eda0c9b
Introduce Parameter: Do not suggest containers of object and non-inner classes
2015-04-09 13:49:24 +03:00
Alexey Sedunov
80134b9b2b
Introduce Parameter: Support parameters without default values
2015-04-09 13:49:23 +03:00
Alexey Sedunov
13776f5bbd
Introduce Parameter: Duplicate search & replace
2015-04-09 13:49:22 +03:00
Alexey Sedunov
3bb86a63cc
Introduce Parameter: Remove parameters which become unused after occurrence replacement
2015-04-09 13:49:21 +03:00
Alexey Sedunov
53a6827ad8
Introduce Parameter: Initial support
2015-04-09 13:49:20 +03:00