Alexey Sedunov
acf6408474
Create from Usage: Fix "Create class" applicability check for when entries
...
#KT-22329 Fixed
2018-02-21 13:21:17 +03:00
Alexey Sedunov
4ac870500f
Minor: Fix test data
2017-12-21 16:01:29 +03:00
Nikolay Krasko
ab28bdf32f
Store in test data failure for quotedName name
2017-12-05 16:07:55 +03:00
Alexey Sedunov
97a3d343f7
Create Class from Usage: Support nested classes
...
This covers the case when original expression doesn't contains qualifier
Also for local or inner containing classes:
- forbid nested objects
- add 'inner' to nested class declaration
#KT-16404 Fixed
2017-08-04 16:48:36 +03:00
Alexey Sedunov
78117b3e7b
Create from Usage: Infer expected type from base declarations
...
#KT-17480 Fixed
2017-08-04 16:48:35 +03:00
Dmitry Petrov
7979663e6c
Update testData for changed diagnostic messages
2017-05-26 13:58:46 +03:00
Valentin Kipyatkov
1fe6886a33
Fixed error message to quote parameter name
2017-05-20 23:44:20 +03:00
Valentin Kipyatkov
92a763552c
KT-17970 Intention actions to format parameter/argument list placing each on separate line
...
#KT-17970 Fixed
2017-05-19 12:20:51 +03:00
Alexey Sedunov
1a13c21377
Create from Usage: Show receiver type in the text of "Create extension" quick fix
...
(cherry picked from commit c0d5df1 )
2016-07-20 15:39:13 +03:00
Valentin Kipyatkov
3d422b47cb
Intention action to convert string to raw string
...
(half of KT-5208)
2016-03-24 19:05:55 +03:00
Pavel V. Talanov
a4c005fefd
Update existing test data depending on diagnostic parameter rendering
2016-02-26 14:45:11 +03:00
Pavel V. Talanov
a667aa2f71
Tests: add runtime (and runtime sources) to some tests that rely on being able to resolve references to built ins
2015-12-15 20:22:09 +03:00
Alexey Sedunov
e517cbcf78
Quick Fixes: Implement "Rename unresolved reference" fix
...
#KT-8795 Fixed
2015-12-08 16:20:56 +03:00
Yan Zhulanow
a3ff3ffc45
Fix tests: "Placing function type parameters after the function name" error
2015-11-27 15:51:11 +03:00
Mikhail Glukhikh
4e44466cf9
Exposed visibility deprecation warnings made errors + relevant test fixes
2015-11-20 15:21:01 +03:00
Denis Zharkov
deea0643ad
Refine type arguments resolution and rendering
...
In case of type constructors captured parameters from outer classes
#KT-5510 Fixed
#KT-3112 Fixed
#KT-6325 Fixed
#KT-408 Fixed
#KT-6337 Fixed
2015-11-13 14:47:28 +03:00
Nikolay Krasko
911432c99c
Use default render to check are all errors mentioned in tests. It's far more easier to read.
2015-10-28 13:39:46 +03:00
Svetlana Isakova
7150be7c67
Minor: fixed error message
2015-10-22 19:09:46 +03:00
Alexander Udalov
556a169a5d
Update stdlib usages of PropertyMetadata to KProperty<*>
2015-10-15 00:05:31 +03:00
Yan Zhulanow
f9e89596fd
Add 'operator' modifier to stdlib property Delegate functions
2015-10-14 19:10:36 +03:00
Michael Nedzelsky
7f0fbb4577
fix tests for quoted names
2015-10-14 16:57:00 +03:00
Yan Zhulanow
bc3d1ddda0
Remove old 'get' delegate convention in interfaces
2015-10-14 01:29:09 +03:00
Valentin Kipyatkov
55cbe185f8
Do not offer to convert to infix call when calling non-infix function
2015-10-12 15:10:39 +03:00
Yan Zhulanow
1f2b4e20fe
Replace get() and set() to getValue() and setValue() (property delegates)
2015-10-09 22:49:16 +03:00
Alexey Sedunov
1d83d75a82
Create from Usage: Use function form when rendering FunctionN types
...
#KT-7522 Fixed
2015-10-01 17:35:24 +03:00
Alexey Sedunov
85f85e85b4
Create From Usage: Quote declaration name if it's not a valid identifier
...
#EA-70291 Fixed
2015-08-19 23:30:07 +03:00
Valentin Kipyatkov
463b0cda79
Fixed test data
2015-06-29 19:29:26 +03:00
Ilya Gorbunov
f2788d53c0
Refactor: rename PropertyMetadata parameter from 'desc' to 'property'.
...
Correct test data after parameter has been renamed.
2015-06-19 23:08:08 +03:00
Denis Zharkov
c9f79c2d05
Adjust testData: get rid of obsolete annotations
2015-06-12 09:23:31 +03:00
Pavel V. Talanov
07d35d305e
Create import list psi element even if no directives are present
...
Fix a problem where deleting last import directive via "optimize imports" could lead to incorrect psi structure resulting in CCE, see EA-64291
New imports are inserted at the head (after package directive if present) of the file (before any comments) if no imports were present
Add test for inserting import to file where a first statement is a comment
Drop code dealing with non-existing import list in ImportInsertHelperImpl
AbstractQuickFixTest: check for unexpected actions before changes to the file are made as it relies on the first line having specific format
2015-06-08 20:51:04 +03:00
Valentin Kipyatkov
0dc92c3ee8
QuickFixMultiFileTestGenerated - shorter test data files names
2015-05-27 16:15:44 +03:00
Valentin Kipyatkov
1ad5ea4f7e
Corrected test data
2015-05-14 01:10:13 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Valentin Kipyatkov
837e46a9b8
Big change in quickfix tests: no stupid test data format with "before" and "after" file prefixes
2015-05-08 22:29:42 +03:00
Stanislav Erokhin
3de0dff575
Migrate testdata to new lambda syntax
2015-04-07 13:08:53 +03:00
Alexey Sedunov
9c0bcee9a3
Create from Usage: Generate secondary constructors by call expressions
2015-03-30 21:10:27 +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
Nikolay Krasko
4d1c2ab0e3
Suppress action generally because of updated constant in action
2015-03-06 12:56:42 +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
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
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
Nikolay Krasko
440cc20ed9
Add expected action
2015-02-18 18:51:56 +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
1b1eb10979
Create From Usage: Create class by constructor call
2014-11-11 14:42:45 +03:00