Alexey Sedunov
924bb44862
Pull Up/Push Down/Extract Super: Support references to Java-declared superinterfaces
2016-09-27 21:26:30 +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
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
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
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
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
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
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
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
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
bf12908dfc
Ignore irrelevant java classes in search results
...
It looks like JavaClassInheritorsSearcher started to give classes based on useScope
2016-09-20 15:27:05 +03:00
Nikolay Krasko
00db1c1490
Add standard inheritors to hierarchy test
2016-09-20 15:27:02 +03:00
Nikolay Krasko
89a1389512
Make caret left move not-applicable on first function parameter
2016-09-20 15:27:01 +03:00
Denis Zharkov
189705727f
Implement a bunch of string based postfix templates
...
#KT-4710 Fixed
2016-09-20 15:26:48 +03:00
Denis Zharkov
1b391123e6
Implement for/iter postfix templates
...
#KT-4710 In Progress
2016-09-20 15:26:47 +03:00
Denis Zharkov
b702886f0d
Introduce var/val postfix templates
...
#KT-4710 In Progress
2016-09-20 15:26:45 +03:00
Denis Zharkov
4d28199cc2
Implement if/else/null/notnull/when/try postfix templates
...
#KT-4710 In Progress
2016-09-20 15:26:42 +03:00
Denis Zharkov
09266b222b
Implement 'Surround expression with if' surrounder
...
#KT-3363 Fixed
2016-09-20 15:26:41 +03:00
Denis Zharkov
f18b9cceb3
Implement 'not' postfix template
...
#KT-4710 In Progress
2016-09-20 15:26:39 +03:00
Nikolay Krasko
3d0d82b862
Fix tests for move: check applicability from changed text
...
Presentation status has stopped working after https://github.com/JetBrains/intellij-community/commit/18ce2c6070667608d9bf5a18926778187564fd19
2016-09-20 15:26:36 +03:00
Nikolay Krasko
58ff7f53fa
Tests only: Debugger test data modification: extra removed
2016-09-20 15:10:43 +03:00
Denis Zharkov
42e85b07c9
Fix types in local var table for destructured variables
2016-09-20 13:44:44 +03:00
Valentin Kipyatkov
7d214c6e58
KT-13689 Typealias constructor usage counts as original type usage for optimize imports
...
#KT-13689 Fixed
(cherry picked from commit bde7e2b)
2016-09-20 10:55:36 +03:00
Denis Zharkov
e75efc88ff
Add support for desctructuring of lambda parameters in JVM backend
...
#KT-5828 In Progress
2016-09-19 20:22:57 +03:00
Mikhail Glukhikh
4509cd43cb
Convert to expression body fix: do not allow = Unit for constructors
2016-09-19 10:58:37 +03:00
Mikhail Glukhikh
24c7efd323
Minor: WITH_RUNTIME removed from a set of intention tests
2016-09-19 10:57:16 +03:00
Mikhail Glukhikh
9ad820205e
Partial build fix (new convert to expression body opportunity in quick-fixes)
2016-09-19 10:37:39 +03:00
Mikhail Glukhikh
608368997c
Add function to supertype immediately removes redundant modifiers #KT-12297 Fixed
2016-09-16 16:26:01 +03:00