463 Commits

Author SHA1 Message Date
Alexey Sedunov 8a5628cde5 Pull Up/Extract Super: Support members declared in the companion object of the original class 2016-09-27 21:26:28 +03:00
Alexey Sedunov 982d4d4ead Pull Up/Extract Super: Support properties declared in the primary constructor 2016-09-27 21:26:27 +03:00
Alexey Sedunov d6b14ce480 Minor: Fix changelog 2016-09-27 13:27:57 +03:00
Alexey Sedunov ca482c32c6 Introduce Variable: Fix exception on trying to extract variable of functional type
#KT-14004 Fixed
2016-09-27 13:27:56 +03:00
Alexey Sedunov 06936328ab Remove Redundant Receiver Parameter: Do not run refactoring inside write action
#KT-13878 Fixed
2016-09-27 13:27:55 +03:00
Alexey Sedunov 698660b9c6 Find Usages: Add special type for usages inside of type aliases
#KT-13955 Fixed
2016-09-27 13:27:54 +03:00
Alexey Tsvetkov 1c0be7f0ba Update changelog for 1.0.4 2016-09-23 20:55:49 +03:00
Alexey Sedunov b412edf2a3 Extract Class: Implement 'Extract Interface' refactoring
#KT-11017 Fixed
2016-09-22 20:11:31 +03:00
Alexey Sedunov af2de09840 Extract Class: Implement 'Extract Superclass' refactoring
#KT-11017 In Progress
2016-09-22 20:11:30 +03:00
Alexey Sedunov d6daaf0a85 Redundant 'toString()' in String Template: Disable for qualified expressions with 'super' receiver
#KT-13942 Fixed
2016-09-20 20:36:03 +03:00
Alexey Sedunov 85c45cf2fa Move Files/Directories: Fix behavior of "Open moved files in editor" checkbox
#KT-13909 Fixed
2016-09-20 20:36:02 +03:00
Alexey Sedunov ad8b534e9c Move Nested Class to Upper Level: Preserve state of "Search in comments"/"Search for text occurrences" checkboxes
#KT-13904 Fixed
2016-09-20 20:36:01 +03:00
Alexey Sedunov 79f50975b1 Convert Parameter to Receiver: Do not qualify companion members with labeled 'this'
#KT-13933 Fixed
2016-09-20 20:36:00 +03:00
Alexey Sedunov 75481c34b4 Move to Companion Object: Warn if companion object already contains function with the same signature
#KT-13877 Fixed
2016-09-20 20:35:59 +03:00
Alexey Sedunov 72ff5dd2cc Move to Companion Object: Forbid for functions/properties referencing type parameters of the containing class
#KT-13876 Fixed
2016-09-20 20:35:58 +03:00
Alexey Sedunov 4cd4b8781d Move: Do not ignore target directory selected in the dialog (DnD mode)
#KT-13901 Fixed
2016-09-20 20:35:57 +03:00
Alexey Sedunov 65a1ecc464 Move Nested Class to Upper Level: Do not show directory selection dialog twice
#KT-13906 Fixed
2016-09-20 20:35:56 +03:00
Alexey Sedunov 6366383b31 Minor: Add test for KT-13916 2016-09-20 20:35:56 +03:00
Alexey Sedunov 951dc6a438 Move: Remove companion object which becomes empty after the move
#KT-13903 Fixed
2016-09-20 20:35:55 +03:00
Alexey Sedunov 11a7a242c8 Move to Companion Object: Fix exception when applied to class
#KT-13883 Fixed
2016-09-20 20:35:54 +03:00
Alexey Sedunov 64e5baade3 Move to Companion: Fix AssertionError on running refactoring from Conflicts View
#KT-13874 Fixed
2016-09-20 20:35:53 +03:00
Alexey Sedunov 6e8bcb987a Minor: Add tests for KT-13759 2016-09-20 20:35:52 +03:00
Alexey Sedunov 4313f249a4 Presentation: Add file name to the presentation of private top-level declaration
#KT-13838 Fixed
2016-09-20 20:35:51 +03:00
Alexey Sedunov cf28dd04c8 Shorten References: Compare resolved calls when shortening receiver of qualified call expression
#KT-13660 Fixed
2016-09-16 13:13:30 +03:00
Alexey Sedunov 54faac1cee Pull Up: Drop 'override' modifier if moved member doesn't override anything 2016-09-15 16:22:51 +03:00
Alexey Sedunov 6e02051be5 Rename: Rename all overridden members if user chooses to refactor base declaration(s)
#KT-8867 Fixed
2016-09-12 21:03:21 +03:00
Alexey Sedunov a77e1dabce Move: Do not show directory selection dialog if target directory is already specified by drag-and-drop
#KT-13553 Fixed
2016-09-12 21:03:20 +03:00
Alexey Sedunov 23491afde2 Move to Companion Intention: Do not use qualified names as labels
#KT-11483 Fixed
2016-09-12 21:03:18 +03:00
Alexey Tsvetkov 3f2f79ef59 Update changelog for 1.0.4 2016-09-09 18:19:01 +03:00
Alexey Tsvetkov c422de7c3c Update changelog for 1.0.4 2016-09-05 14:55:22 +03:00
Nikolay Krasko 67f353903e Show lint diagnostics even if there're errors in the file (KT-12022)
It also affects working with KotlinChangeLocalityDetector. Right after error is fixed in local context file is still reported as having errors and diagnostics are not counted.

 #KT-12022 Fixed
2016-09-02 13:41:24 +03:00
Nikolay Krasko 795fef20d7 Don't highlight declaration with WRAPPED_INTO_REF
Leave highlighting only for usage. This may allow to make highlighting more local and lazy.
Java follows the same rules for "Implicit anonymous class parameter".
2016-09-02 13:41:24 +03:00
Nikolay Krasko 52dd02fe08 Make changes in super call lambda not cause out-of-block modification (KT-13474)
#KT-13474 Fixed
2016-09-02 13:41:24 +03:00
Nikolay Krasko 82bcd8192b Re-highlight only single function after local modifications 2016-09-02 13:41:24 +03:00
Alexey Sedunov 2f9a911624 Introduce Type Parameter
#KT-13155 Fixed
2016-09-01 13:43:44 +03:00
Alexey Sedunov 34c268b08b Quick-Fixes: Do not show Change Signature dialog when applying "Remove parameter" quick-fix 2016-08-31 11:28:03 +03:00
Alexey Sedunov 3405051bcc Misc: Use default presentation for KtTypeAlias
#KT-13611 Fixed
2016-08-31 11:28:02 +03:00
Alexey Sedunov 89c39b9762 Misc: Use TODO() consistently in implementation stubs
#KT-13589 Fixed
2016-08-29 16:20:55 +03:00
Alexey Sedunov 639186ddae Convert Receiver to Parameter: Use template instead of the dialog
#KT-9490 Fixed
2016-08-29 16:20:52 +03:00
Alexey Sedunov 63092f6985 Create from Usage: Implement "Create type parameter" quickfix
#KT-11525 Fixed
2016-08-29 16:20:32 +03:00
Alexey Sedunov 6a2edabbd4 Create from Usage: Implement "Create type alias" quickfix
#KT-12904 Fixed
2016-08-29 14:13:56 +03:00
Alexey Sedunov 64f0532934 Move: Forbid moving of enum entries
#KT-13215 Fixed
2016-08-24 11:27:22 +03:00
Alexey Sedunov c50f38aa52 Intentions: Implement intention to replace camel-case test function name with a space-separated one
#KT-12489 Fixed
(cherry picked from commit 21e24a1)
2016-08-24 11:27:21 +03:00
Alexey Sedunov d9698dfa4d Search: Optimize usage scope of class members
#KT-9285 Fixed
2016-08-24 11:27:20 +03:00
Alexey Sedunov e908c6c1b2 Search: Restrict KtParameter usage scope to its containing declaration
#KT-13542 Fixed
 #KT-8672 Fixed
2016-08-24 11:27:19 +03:00
Alexey Sedunov 6480118da6 Move: Report separate conflicts for each property accessor
#KT-13216 Fixed
2016-08-24 11:27:18 +03:00
Alexey Sedunov 9607fd0620 Pull Up: Remove visibility modifiers on adding 'override'
#KT-13535 Fixed
2016-08-24 11:27:17 +03:00
Alexey Sedunov 47d4454590 Type Hierarchy: Support Type Hierarchy on references inside of super type call entries
#KT-9125 Fixed
2016-08-24 11:27:16 +03:00
Alexey Sedunov 9fd61b869e Find Usages: Do not duplicate containing declaration in super member warning dialog
#KT-10209 Fixed
2016-08-18 19:15:40 +03:00
Alexey Sedunov c2b38cfa41 Create from Usage: Place extension properties after the usage and generate stub getter
#KT-11795 Fixed
2016-08-18 19:15:38 +03:00