Alexey Sedunov
22271f0af0
Pull Up/Push Down/Extract Super: Show member dependencies in the refactoring dialog
2016-09-27 21:26:29 +03:00
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
shiraji
3aedf0d79f
Add intention to replace Math.max/min with coerceAtLeast/coerceAtMost #KT-13945 Fixed
2016-09-27 20:05:11 +03:00
Mikhail Glukhikh
4522d2c7da
Remove unnecessary lateinit intention / inspection removed (supported in compiler CFA instead)
...
(cherry picked from commit e17f222)
2016-09-27 18:49:51 +03:00
Mikhail Glukhikh
67cc83af05
Quick-fix for UNNECESSARY_LATEINIT
...
(cherry picked from commit 77f7bb0)
2016-09-27 18:49:13 +03:00
Valentin Kipyatkov
b0ed6adce3
Fixed wrong test
2016-09-27 18:05:26 +03:00
Valentin Kipyatkov
6baf633a8d
Fixed bug found because of incorrect test fixed
2016-09-27 18:05:26 +03:00
Valentin Kipyatkov
21c2268f70
Protection against "<caret>" missing in test data
...
Many incorrect tests fixed
2016-09-27 18:05:26 +03:00
Valentin Kipyatkov
be8b31e82b
Removed redundant and confusing .after files in negative tests
2016-09-27 18:05:26 +03:00
Valentin Kipyatkov
038068aa44
KT-13953 Import member popup should not suggest methods when only property or variable is valid
...
#KT-13953 Fixed
2016-09-27 18:05:25 +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
Pavel V. Talanov
b275dacad8
Light classes: getOwnInnerClasses() filters out inner classes with null names
...
#KT-13927 Fixed
2016-09-26 19:51:57 +03:00
Pavel V. Talanov
827b56e277
Navigation to binaries: support navigation to type alias constructors
...
#KT-13479 Fixed
2016-09-26 18:34:19 +03:00
Ilya Gorbunov
35839695f7
Fix decompiled text consistency test to handle type aliases in JS.
...
by Alexey Andreev <Alexey.Andreev@jetbrains.com >
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
c508f75de4
Test data: change fully qualified type so that it's available as type (and not an alias) in both jvm and js runtimes to have the same output.
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
b741c82a66
Fix completion tests after moving collection types in JS
2016-09-24 07:08:21 +03:00
Nikolay Krasko
0abf94c2f4
Allow to avoid rebuilding application in debugger tests on local machine
...
(cherry picked from commit 8b899a7)
2016-09-24 01:44:40 +03:00
gitreelike
06c804787f
Implement quick fix to convert a too long char literal to a string #KT-13635 Fixed
2016-09-23 13:04:41 +03:00
shiraji
391a0fdde5
Add "Copy concatenation text to clipboard" intention #KT-13744 Fixed
2016-09-23 12:46:22 +03:00
Valentin Kipyatkov
023c02deb3
Corrections on code review
2016-09-23 10:07:15 +03:00
Valentin Kipyatkov
e4f80e277f
Better texts of change variable type quickfixes
2016-09-23 10:07:15 +03:00
Valentin Kipyatkov
80d82d2dee
Made AddToStringFix low priority
2016-09-23 10:07:15 +03:00
Valentin Kipyatkov
7625672914
Better test data
2016-09-23 10:07:15 +03:00
Valentin Kipyatkov
dab6f7d13d
Better texts for quickfixes to change return type
2016-09-23 10:07:14 +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
Denis Zharkov
23c0bdbd05
Add filtering of suggested expressions for postfix templates
...
Do not suggest qualified expression's selector or a part of user type
because they aren't really independent expressions
2016-09-22 18:11:22 +03:00
Denis Zharkov
5381c06936
Improve 1.0-compatibility mode for JDK dependent members
...
Just reporting error by call checker may be too restrictive
in case there are some extensions that can be used successfully
Solution is to annotate additional members with
@Deprecated(level=Error) + @kotlin.internal.LowPriorityInOverloadResolution
2016-09-22 15:40:37 +03:00
Denis Zharkov
a7dedfab70
Move JvmBuiltIns initialization after container setup
...
It will be used in the further commits to initilize built-ins instance
with components as arguments
2016-09-22 15:40:37 +03:00
Nikolay Krasko
63943c60d3
Patch ThreadTracker during Kotlin plugin init
2016-09-22 15:19:18 +03:00
Denis Zharkov
6663054f4d
Fix false positive "Cannot capture" error reporting
...
There is no need to report an error in case of non-top-level
capture conversion, just don't add relevant capture type in the system instead
If system can be solved successfully without captured type, then it's just fine
(see KT-13950)
In case of contradiction TYPE_INFERENCE_PARAMETER_CONSTRAINT_ERROR is reported
#KT-13950 Fixed
2016-09-21 18:05:26 +03:00
Nikolay Krasko
37fb8d6306
Fix tests for looking implementations from Java - no search for Kotlin declaration from usages
...
Probably because of this commit: https://github.com/JetBrains/intellij-community/commit/7d95ff4d86e584d66d558559a1a4678920281ca1
2016-09-21 15:52:16 +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
Nikolay Krasko
4adfb18990
Solve thread leaking problem in intellij idea ultimate with obfuscated fileds
2016-09-20 19:31:10 +03:00