Commit Graph

104 Commits

Author SHA1 Message Date
Alexey Sedunov 96dae07276 Extract Function: Allow to choose between function and property extraction 2014-08-12 13:09:53 +04:00
Alexey Sedunov 87de6cff23 Extract Function: Check for INVISIBLE_* errors during validation phase
#KT-4995 Fixed
2014-08-12 13:09:53 +04:00
Alexey Sedunov cb3328c052 Extract Function: Choose default visibility at analysis phase 2014-08-12 13:09:52 +04:00
Alexey Sedunov 67606c55e7 Rename: Initial support of naming conventions 2014-08-08 18:59:49 +04:00
Alexey Sedunov 17dd5b9d05 Move: Do not update Kotlin usages of extension members, add imports instead
#KT-5378 Fixed
2014-08-05 18:14:39 +04:00
Evgeny Gerashchenko 670f135c75 KT-5522 Rename refactoring on implicit lambda parameter 'it' should be allowed
#KT-5522 fixed
2014-08-04 13:38:35 +04:00
Alexander Udalov de0f751207 Replace object$ -> OBJECT$, instance$ -> INSTANCE$ in the project 2014-07-26 00:21:05 +04:00
Alexey Sedunov 49edae7469 Extract Function: Do not report "non-denotable type" message on error types 2014-07-11 19:13:44 +04:00
Alexey Sedunov 1618d7448d Extract Function: Improve rendering of error messages 2014-07-11 19:13:41 +04:00
Alexey Sedunov a6882f6670 Extract Function: Exclude unused parameters (jump-based control flow) 2014-07-11 19:13:37 +04:00
Alexey Sedunov 59b33fcba4 Extract Function: Do not report "Moving out of scope" warning on nested declarations 2014-07-11 19:13:35 +04:00
Alexey Sedunov ac17594f67 Extract Function: Capitalize conflict messages 2014-07-11 19:13:33 +04:00
Alexey Sedunov d95f6383b7 Extract Function: Allow to extract local variables which are used outside of extracted fragment 2014-07-11 19:13:32 +04:00
Alexey Sedunov 3e3918ab6e Extract Function: Keep track of original parameter descriptors 2014-07-11 19:13:25 +04:00
Alexey Sedunov 09a1a8ce8f Extract Function: Support extraction of expressions in delegation
specifiers
2014-07-11 19:13:22 +04:00
Alexey Sedunov 30192b4c40 Extract Function: Do not extract into lambda 2014-07-11 19:13:17 +04:00
Alexey Sedunov 0c49d48a48 Extract Function: Add support of initializer expressions 2014-07-11 19:13:16 +04:00
Alexey Sedunov cd44bc3fb0 Introduce Variable: Do not compare explicit receivers using ReceiverValue
#KT-5319 Fixed
2014-06-25 19:08:04 +04:00
Alexey Sedunov ca16f4231f Extract Function: Infer parameter type candidates
#KT-4940 Fixed
2014-06-23 21:10:12 +04:00
Alexey Sedunov e5ce5b7127 Extract Function: Fix call replacement for the case of lambda extraction 2014-06-23 19:32:35 +04:00
Alexey Sedunov a3f215fb34 Extract Function: Support extraction of "it" parameter from lambdas 2014-06-23 19:32:33 +04:00
Alexey Sedunov 14362134bd Extract Function: Traverse nested pseudocode instructions
#KT-5178 Fixed
2014-06-23 19:32:31 +04:00
Alexey Sedunov c7d8ab8219 Extract Function: Add support of property-as-function calls
#KT-5179 Fixed
2014-06-23 19:32:30 +04:00
Alexey Sedunov 53c49b6333 Shorten References: Do not shorten qualified expression if receiver values are changed
#KT-5180 Fixed
2014-06-23 19:32:26 +04:00
Alexey Sedunov 4463c67e28 Extract Function: Fix replacement of type references and constructor references 2014-06-03 18:17:14 +04:00
Alexey Sedunov 3d6fc6e015 Extract Function: Fix replacement of references with class receivers (objects, class objects, enum classes) 2014-06-03 18:17:13 +04:00
Alexey Sedunov 240f033f4f Extract Function: Fix NPE caused by unmatched offset-to-reference maps
#KT-5001 Fixed
2014-06-03 18:17:12 +04:00
Alexey Sedunov f4c21d3a28 Extract Function: Treat multi declarations as local variables
#KT-5054 Fixed
2014-06-03 18:17:10 +04:00
Alexey Sedunov 3a75aa27f0 Extract Function: Fix extraction of reference to class object property
#KT-5053 Fixed
2014-06-03 18:17:10 +04:00
Alexey Sedunov 1a7e6eab61 Extract Function: Utilize pseudo-value usage for return type inference 2014-06-03 18:17:09 +04:00
Alexey Sedunov ee52073488 Extract Function: Limit the set of allowed containers for the default action 2014-06-02 19:48:38 +04:00
Alexey Sedunov 3c5c0248a7 Extract Function: In case of top-level and member declarations place extracted function after the original container 2014-06-02 19:48:35 +04:00
Alexey Sedunov ab5e0c8c9c Move: Retain imports when moving top-level declaration
#KT-5049 Fixed
2014-05-28 21:06:00 +04:00
Alexey Sedunov 31a1ec0f05 Improve JetNameValidatorImpl performance 2014-05-12 13:03:03 +04:00
Alexey Sedunov 3ac3edd1bd Extract Function: Allow to select fragments which start with comment 2014-05-12 12:55:08 +04:00
Alexey Sedunov 243ba62b65 Extract Function: Allow to combine throws with other exit points 2014-05-12 12:55:07 +04:00
Alexey Sedunov 5fc1725b33 Extract Function: Type parameters inference 2014-05-12 12:55:02 +04:00
Alexey Sedunov 0e9676173b Extract Function: Implement validation 2014-04-22 18:45:55 +04:00
Alexey Sedunov e052a64767 Introduce Variable: Compare receivers (both implicit and explicit) when looking for expression occurrences
#KT-4819 Fixed
2014-04-22 18:45:54 +04:00
Alexey Sedunov 0d90dcf010 Extract Function: Add test data 2014-04-17 19:01:20 +04:00
Alexey Sedunov 4dec0508a6 ExtractionTest: Change test data layout 2014-04-17 19:01:17 +04:00
Alexey Sedunov db38f420f3 Move Refactoring: Do not replace references to local declaration with qualified names. Update and fix test data
#KT-4851 Fixed
2014-04-15 16:19:28 +04:00
Nikolay Krasko dd45da01d1 Fix "Extract variable" for anonymous object suggests name "nonameprovided" (KT-4813)
#KT-4813 Fixed
2014-04-05 04:41:31 +04:00
Nikolay Krasko 7c94e8a9af Rename kotlin properties with all usages
#KT-4317 Fixed
 #KT-4316 Fixed
2014-03-31 14:09:51 +04:00
Alexey Sedunov 5aa75ba3e1 Move top-level declarations to separate file: Refactoring processor and tests 2014-03-21 19:53:49 +04:00
Alexey Sedunov 6ddcd51af2 Rename test data directories 2014-03-21 19:53:47 +04:00
Alexey Sedunov abcba89ad3 Move top-level declarations: Implement refactoring processor 2014-03-19 15:31:29 +04:00
Alexey Sedunov 5327031300 Update references when moving Kotlin file
#KT-1696 Fixed
2014-03-07 19:24:33 +04:00
Alexey Sedunov 3729966270 Forbid moving file to another file
#KT-4069 Fixed
2014-03-04 19:45:34 +04:00
Alexey Sedunov e48616e739 Do not insert parentheses into package directives
Add tests for "Move Package" refactoring
2014-03-04 19:45:32 +04:00