Alexey Sedunov
|
f5107be315
|
Quick-Fixes: Support "Change function return type" quick-fix for non-local returns
#KT-6910 Fixed
|
2015-03-24 16:40:57 +03:00 |
|
Evgeny Gerashchenko
|
f7883fb1df
|
Added quick fix for "Unused receiver parameter".
|
2015-03-20 19:34:16 +03:00 |
|
Denis Zharkov
|
6f60bfad84
|
Fix "Make supertype open" quickfix in case of using secondary ctor
#KT-7002 Fixed
|
2015-03-18 19:59:25 +03:00 |
|
Denis Zharkov
|
3e0c6fc6a2
|
Add quickfix "Add 'init' keyword in whole project"
|
2015-03-18 19:59:25 +03:00 |
|
Denis Zharkov
|
df23ff3473
|
Improve AddInitKeyword quickfix
- Extract quickfix method
- Delete redundant semicolon
- Do not replace initializer PSI element
|
2015-03-18 19:59:25 +03:00 |
|
Stanislav Erokhin
|
0b76dbb492
|
Create DeprecatedLambdaSyntaxFix
|
2015-03-18 17:10:12 +03:00 |
|
Stanislav Erokhin
|
43e24f6b0d
|
Fixed test data for new lambda syntax
|
2015-03-18 16:06:44 +03:00 |
|
Pavel V. Talanov
|
41b65205b0
|
default -> companion: fix message for quick fix
|
2015-03-18 14:35:53 +03:00 |
|
Denis Zharkov
|
9e5192e0e3
|
Prohibit val/vars/modifiers on secondary constructor parameter
#KT-6962 Fixed
|
2015-03-17 23:18:33 +03:00 |
|
Pavel V. Talanov
|
06916d98c6
|
default -> companion: replace all mentions of default and default object
|
2015-03-17 15:47:39 +03:00 |
|
Stanislav Erokhin
|
560c32c0f1
|
Added diagnostic error when in function declaration name was omitted
|
2015-03-12 17:11:44 +03:00 |
|
Stanislav Erokhin
|
a33450395c
|
Resolve parenthesized element as expression
|
2015-03-12 17:11:43 +03:00 |
|
Alexey Sedunov
|
84ad6c394e
|
Create from Usage: Respect smart-casts when suggesting parameter type candidates
#KT-6781 Fixed
|
2015-03-11 23:34:00 +03:00 |
|
Alexey Sedunov
|
f0b0fd07c5
|
Create From Usage: Add support of star projections/incorrect type arguments
#EA-62661 Fixed
|
2015-03-11 23:33:56 +03:00 |
|
Alexey Sedunov
|
ab5a691612
|
Create From Usage: Place generated declarations next to original element container if they have common parent
#KT-6687 Fixed
|
2015-03-11 23:33:55 +03:00 |
|
Alexey Sedunov
|
fe9b08f93d
|
Create From Usage: Place local variable declaration right before its usage
#KT-6704 Fixed
|
2015-03-11 23:33:54 +03:00 |
|
Alexey Sedunov
|
8a0808b133
|
Create From Usage: Do not generate type for local variables, but add dummy initializer instead
#KT-6705 Fixed
|
2015-03-11 23:33:52 +03:00 |
|
Denis Zharkov
|
1703e16913
|
Add quickfix: remove 'init' modifier
|
2015-03-11 17:45:26 +03:00 |
|
Denis Zharkov
|
f07566d30d
|
Add warning for initializers with obsolete syntax
Expected 'init' keyword before class initializer
|
2015-03-11 17:45:26 +03:00 |
|
Pavel V. Talanov
|
a701cb2bd9
|
Add quick fix to replace all 'class object's in project
|
2015-03-10 18:21:33 +03:00 |
|
Pavel V. Talanov
|
81f9d34d1a
|
Add quick fix for deprecated 'class object' syntax
|
2015-03-10 18:21:33 +03:00 |
|
Pavel V. Talanov
|
59f192ef90
|
Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
|
2015-03-06 19:36:54 +03:00 |
|
Nikolay Krasko
|
4d1c2ab0e3
|
Suppress action generally because of updated constant in action
|
2015-03-06 12:56:42 +03:00 |
|
Evgeny Gerashchenko
|
7b6f83815c
|
Unified obtaining psi element for descriptor. Now code for finding effective descriptors of fake override and finding source element for original declarations are separated. Old method DescriptorToSourceUtils.descriptorToDeclaration is still there, because it has ~90 usages.
|
2015-03-05 15:19:29 +03:00 |
|
Pavel V. Talanov
|
48fbce9582
|
Refactor: process mentions of class object
Rename usages that refer to "default object" concept now
Test data file names are left as is
|
2015-03-03 20:57:08 +03:00 |
|
Alexey Sedunov
|
a21163b8c4
|
Change Signature: Add test for KT-4013 "'Change signature' does not add necessary imports"
#KT-4013 Fixed
|
2015-02-20 19:08:19 +03:00 |
|
Alexey Sedunov
|
2af83c58c9
|
Create from usage: Use separate editor for templates which should be placed in Java files
|
2015-02-20 19:08:14 +03:00 |
|
Alexey Sedunov
|
6bdff82c3a
|
Create from usage: Do not create functions/properties from import directives
|
2015-02-20 19:08:11 +03:00 |
|
Alexey Sedunov
|
41d51e0a13
|
Create from usage: Assume String return type for function whch is called inside of string template
#KT-6083 Fixed
|
2015-02-20 19:08:08 +03:00 |
|
Alexey Sedunov
|
0ae69e0d3e
|
Create from usage: Do not generate function body if it's declared as a trait member
#KT-6078 Fixed
|
2015-02-20 17:28:41 +03:00 |
|
Alexey Sedunov
|
60d02dab0f
|
Create from usage: Support generation of nested Java classes from usages in Kotlin code
|
2015-02-20 17:28:40 +03:00 |
|
Alexey Sedunov
|
5cd477279b
|
Create from usage: Support static Java members
|
2015-02-20 17:28:39 +03:00 |
|
Alexey Sedunov
|
19fc9adffa
|
Create from usage: Support generation of Java fields from usages in Kotlin code
|
2015-02-20 17:28:38 +03:00 |
|
Alexey Sedunov
|
34d8e1c08c
|
Create from usage: Support generation of Java methods from usages in Kotlin code
|
2015-02-20 17:28:37 +03:00 |
|
Alexey Sedunov
|
97b0f50d35
|
Create from usage (function/property): Suggest separate actions for extensions and non-extension declarations
#KT-6023 Fixed
|
2015-02-20 17:28:36 +03:00 |
|
Pavel V. Talanov
|
9cf3a11efc
|
Add quick fixes for newly introduced diagnostics
|
2015-02-20 14:47:37 +03:00 |
|
Valentin Kipyatkov
|
0a363fc371
|
Import is placed in some specific order on adding
|
2015-02-19 11:07:02 +03:00 |
|
Valentin Kipyatkov
|
7ad1933695
|
Dropped obsolete tests
|
2015-02-19 11:07:01 +03:00 |
|
Nikolay Krasko
|
440cc20ed9
|
Add expected action
|
2015-02-18 18:51:56 +03:00 |
|
Pavel V. Talanov
|
d9d3f68a39
|
Drop JetClassObject element and its usages
as class objects are now represented by JetObjectDeclaration element
|
2015-02-16 15:38:31 +03:00 |
|
Valentin Kipyatkov
|
b091eaa3cd
|
Fixed KT-2483 "Add import" quick fix offers adding import to non-API class
#KT-2483 Fixed
|
2015-02-12 18:18:02 +03:00 |
|
Valentin Kipyatkov
|
546836d5dd
|
Fixed bug with importing some of SAM-constructors and factory functions
#KT-3449 Fixed
|
2015-02-12 18:18:01 +03:00 |
|
Alexey Sedunov
|
e75bd1b41b
|
Create from usage: Support extension members for Java classes
|
2015-02-11 14:45:14 +03:00 |
|
Valentin Kipyatkov
|
c915d2b0cd
|
Auto-import popup uses new algorithm for import insertion
|
2015-02-09 13:02:04 +03:00 |
|
Valentin Kipyatkov
|
033b626a08
|
Fixed test data
|
2015-02-09 13:02:04 +03:00 |
|
Valentin Kipyatkov
|
5d516a5f72
|
No need to shorten non-affected references in quickfixes
|
2015-02-09 12:56:00 +03:00 |
|
Valentin Kipyatkov
|
ca2a46e42f
|
Auto-import popup to work for ambiguous class name
|
2015-02-09 12:55:22 +03:00 |
|
Alexey Sedunov
|
03e076aba3
|
Intentions: function <-> property conversion
|
2015-02-05 23:12:38 +03:00 |
|
Alexey Sedunov
|
57763e10e0
|
Create from usage: make new member function/property private by default
#KT-6689 Fixed
|
2015-02-04 23:38:16 +03:00 |
|
Alexey Sedunov
|
eac735e91a
|
Change parameter type: Make parameter type nullable (instead of Nothing?) if null is passed as an argument
#KT-6634 Fixed
|
2015-02-04 23:38:14 +03:00 |
|