Commit Graph

15 Commits

Author SHA1 Message Date
Alexey Sedunov 929d06c86f Create from Usage: Implement 'Create property as constructor parameter' quick-fix
#KT-8426 Fixed
2015-10-20 18:39:47 +03:00
Alexey Sedunov d18a9f6d8a Create From Usage: Fix StackOverflowException on recursive type parameter bounds
#EA-69240 Fixed
2015-08-19 23:29:55 +03:00
Mikhail Glukhikh 076ac4f5ee Create class from usage fix: enum entries are created with new constructor syntax 2015-08-10 16:24:01 +03:00
Valentin Kipyatkov 2bd1362be6 Create function/property from usage: added "member" when appropriate + changed order 2015-06-29 19:29:25 +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
Dmitry Jemerov 625096466e IDE testdata: s/trait/interface 2015-05-13 16:13:13 +02:00
Dmitry Jemerov 9975bb8935 replace 'trait' keyword with 'interface' in user-visible messages and code generation tools 2015-05-12 11:49:37 +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
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 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 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
Alexey Sedunov c487cc7838 Create From Usage: Do not generate unnecessary/skip necessary empty lines 2014-11-13 17:27:24 +03:00
Alexey Sedunov b8f68acdbb Create From Usage: Create class by reference expression 2014-11-11 14:42:42 +03:00