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
Andrey Breslav
fecf6f9fdf
Star projection information preserved in substitutions
...
#KT-6700 Fixed
2015-02-02 19:52:01 +03:00
Evgeny Gerashchenko
378d00bbad
Quick fix for unused symbol inspection.
2015-01-22 15:26:45 +03:00
Valentin Kipyatkov
77a560775f
KT-6628 Allow imports of classes from root package
...
#KT-6628 Fixed
2015-01-21 20:10:18 +03:00
Valentin Kipyatkov
7ce3925d71
Removed USELESS_HIDDEN_IMPORT error for it cannot happen anymore
2015-01-21 20:10:17 +03:00
Alexey Sedunov
b40e657180
Create from usage: Create constructor parameter by reference in delegation specifier
...
#KT-6601 Fixed
2015-01-19 20:58:55 +03:00
Nikolay Krasko
6215b3962c
Fix warning and and test fail
2015-01-13 12:37:19 +03:00
Alexander Udalov
0b64f028b6
Rename jet -> kotlin in idea: quickfixes
...
org.jetbrains.jet.plugin.quickfix -> org.jetbrains.kotlin.idea.quickfix
2015-01-13 01:14:36 +03:00
Alexey Sedunov
59d646bc16
Extract Function: Generate function in property's enclosing declaration if original expression belongs to initializer of that property
...
#KT-6290 Fixed
2015-01-12 22:55:30 +03:00
Alexey Sedunov
05a0481efa
Formatter: Fix spacing between '=' and '{' in property accessors
2014-12-23 20:43:19 +03:00
Alexey Sedunov
4ecd3726b3
Create parameter from usage: Support named arguments
2014-12-14 19:32:48 +03:00
Svetlana Isakova
da8fdbd23e
More tests for varargs updated
2014-12-12 23:08:28 +03:00
Alexey Sedunov
51d4d3135e
Change return type quick-fix: Add support of constant expressions
...
#KT-6260 Fixed
#KT-6404 Fixed
2014-12-11 17:50:33 +03:00
Alexey Sedunov
2009cc3e9e
Create parameter from usage: Support UNRESOLVE_REFERENCE_WRONG_RECEIVER diagnostic
...
#KT-6431 Fixed
2014-12-11 17:50:32 +03:00
Alexey Sedunov
346d9ea0c5
Quick Fixes: Add test for KT-5922 (QuickFix to change lambda signature doesn't work with SAM conversion)
2014-12-11 17:50:31 +03:00
Alexey Sedunov
b1f82d7a23
Quick Fixes: Add test for KT-6430 (Create parameter quick fix inserts platform types into Kotlin code)
2014-12-11 17:50:28 +03:00
Alexey Sedunov
c6541ccc6f
Change Signature: Do not insert new-lines between parameters (to be fixed later at the formatter level)
2014-12-08 16:30:02 +03:00
Nikolay Krasko
e2bf8b2eee
Suppress warning to avoid spontaneous addition actions
2014-12-05 19:07:46 +03:00
Valentin Kipyatkov
7ba11b0f2f
Fixed auto-import of operator functions broken before + fixed bug in its implementation
2014-12-03 21:09:29 +03:00
Alexander Udalov
a7b88e9485
Make CharSequence.length a function instead of property
...
And String.length as well.
This is done for JVM interoperability: java.lang.CharSequence is an open class
and has a function 'length()' which should be implemented in subclasses
somehow.
A minor unexpected effect of this is that String.length() is now a compile-time
constant (it wasn't such as a property because properties are not supported in
compile-time constant evaluation)
#KT-3571 Fixed
2014-11-27 20:38:17 +03:00
Alexey Sedunov
ddccc0e640
Change Signature: Update enum entries w/o delegation specifier when changing signature of enum class constructor
...
#KT-5978 Fixed
2014-11-26 13:07:29 +03:00
Stanislav Erokhin
65c9ea2465
Fix variance problems.
2014-11-17 17:45:05 +03:00
Alexey Sedunov
c487cc7838
Create From Usage: Do not generate unnecessary/skip necessary empty lines
2014-11-13 17:27:24 +03:00
Alexey Sedunov
afeb03f383
Create From Usage: Create class by annotation entry/super-call delegation specifier
2014-11-11 14:42:48 +03:00
Alexey Sedunov
1b1eb10979
Create From Usage: Create class by constructor call
2014-11-11 14:42:45 +03:00
Alexey Sedunov
b8f68acdbb
Create From Usage: Create class by reference expression
2014-11-11 14:42:42 +03:00
Alexey Sedunov
1f14d93412
Create From Usage: Create class by type reference
2014-11-11 14:42:39 +03:00
Alexey Sedunov
7123ca8ea0
Name suggester: Respect type parameter name when suggesting name for
...
variables based on that type parameter
2014-11-10 21:10:39 +03:00
Alexey Sedunov
f81c2d5ff7
Name suggester: Improve name suggestion strategy for type parameters
2014-11-10 21:10:37 +03:00
Alexey Sedunov
2f98af1a8e
Callable Builder: Do not skip unused type parameters
2014-11-10 21:10:35 +03:00
Alexey Sedunov
42a74f55da
Create From Usage: Remove "from usage" words from action text
2014-11-10 21:10:29 +03:00
Valentin Kipyatkov
cf04ba4943
Corrected test data
2014-10-31 21:07:51 +03:00
Alexey Sedunov
cede5ac58b
Create From Usage: Fix type substitution for no-receiver calls
2014-10-28 19:15:06 +03:00
Alexey Sedunov
abbbd198fd
Create From Usage: Use supplied type arguments to infer function type parameters
2014-10-28 19:15:05 +03:00
Alexey Sedunov
b2588f610a
Create From Usage ("set" operation): Support expressions of the form a[i]++
2014-10-22 18:42:58 +04:00
Alexey Sedunov
f5f1aec47b
Create From Usage: Add support of get/set functions in property delegates
...
#KT-5977 Fixed
2014-10-22 18:42:54 +04:00
Alexey Sedunov
d4a9b922e5
Create From Usage: Fix template insertion when target container is not empty
2014-10-22 18:42:52 +04:00
Alexey Sedunov
07a2a16232
Type-related quick fixes: Render types using fully qualified names
2014-10-22 18:42:51 +04:00
Evgeny Gerashchenko
b653598df2
Fixed EA-61504.
2014-10-15 11:51:01 +04:00