Commit Graph

7367 Commits

Author SHA1 Message Date
Natalia Ukhorskaya 34205c3ff0 NPE in Surround with Action on empty line 2015-04-14 10:41:40 +03:00
Valentin Kipyatkov 38c154ace4 Fixed exception in conversion from Java 2015-04-13 18:14:57 +03:00
Dmitry Jemerov 900a16a315 deprecate required classes for traits 2015-04-13 16:22:22 +03:00
Dmitry Jemerov 991db29731 drop covariant specialisation for supertypes 2015-04-13 15:28:50 +03:00
Evgeny Gerashchenko 9de5acf9a6 Removed indeterministic test. We have analogous test for diagnostics, so it is not a big problem. 2015-04-13 15:21:40 +03:00
Evgeny Gerashchenko 993ba6161f Fixed compilation. 2015-04-13 15:21:23 +03:00
Evgeny Gerashchenko 508c7a58b6 KT-7377 Throwable: Empty PSI elements should not be passed to createDescriptor from UnusedReceiverParameterInspection
#KT-7377 fixed
2015-04-13 15:04:00 +03:00
Valentin Kipyatkov e3bdc18aea KT-7344 Completion of second type argument in class instantiation does not work
#KT-7344 Fixed
2015-04-13 14:30:03 +03:00
Valentin Kipyatkov 3fad68ad4c Completion: no "else" in first when entry 2015-04-13 14:30:03 +03:00
Valentin Kipyatkov 3faf6cc3e8 Correct value passed as containingDeclarationOrModule to SmartCastUtils 2015-04-13 14:30:02 +03:00
Valentin Kipyatkov 33f119a65a Renamed "containingDeclaration" parameters to "containingDeclarationOrModule" to make it more clear that we can pass ModuleDescriptor instead of precise containing declaration 2015-04-13 14:30:02 +03:00
Valentin Kipyatkov f73a41aa15 Completion should not generate deprecated lambda syntax 2015-04-13 14:30:02 +03:00
Valentin Kipyatkov 723bf0ecf9 Minor 2015-04-13 14:30:02 +03:00
Valentin Kipyatkov 5954307147 Fixed KT-7308 Exception on completion inside anonymous object
#KT-7308 Fixed
2015-04-13 14:30:02 +03:00
Valentin Kipyatkov 8b5be4febc Minor 2015-04-13 13:41:44 +03:00
Valentin Kipyatkov f02e2b3ed6 Corrected generated tests after rebase 2015-04-13 13:41:44 +03:00
Valentin Kipyatkov 03270af430 Added scrollbar 2015-04-13 13:41:43 +03:00
Valentin Kipyatkov 066a7c3002 Code style setting for packages to always use star imports and UI for it 2015-04-13 13:41:43 +03:00
Valentin Kipyatkov 1a54886720 Basic UI for import code style settings 2015-04-13 13:41:43 +03:00
Valentin Kipyatkov a8d737bf87 One more test for import nested classes setting 2015-04-13 13:41:43 +03:00
Valentin Kipyatkov 04b2bdcc79 Added test for "import packages" code style setting 2015-04-13 13:41:43 +03:00
Valentin Kipyatkov 0f9858bb75 Code style setting to import nested classes 2015-04-13 13:41:43 +03:00
Nikolay Krasko be896b7d8e Fix test data: non-inherited elements are shown in file structure popup 2015-04-13 13:03:02 +03:00
Valentin Kipyatkov 965f3da2b1 Fixed bug with bad conversion on paste when top-level java class copied 2015-04-13 11:05:31 +03:00
Alexey Sedunov aff17a9fa1 Introduce Parameter: Implement dialog advertisement and switch 2015-04-10 21:57:10 +03:00
Alexey Sedunov f038a2d1d8 In-place Introduce: Track active instance of KotlinInplaceVariableIntroducer 2015-04-10 21:57:09 +03:00
Alexey Sedunov 68a5b05af9 Introduce Parameter: Implement dialog UI 2015-04-10 21:57:08 +03:00
Alexey Sedunov da14222c4a Introduce Parameter: Do not apply to expressions of type Unit or Nothing 2015-04-10 21:57:07 +03:00
Alexey Sedunov 54392e7064 Minor: Fix refactoring name 2015-04-10 21:57:06 +03:00
Alexander Udalov 94df191f86 Regenerate tests 2015-04-10 20:26:34 +03:00
Alexander Udalov 646e81bc61 Regenerate tests 2015-04-10 12:34:31 +03:00
Valentin Kipyatkov a0d2b00287 Code corrections on code review 2015-04-09 19:09:09 +03:00
Valentin Kipyatkov 498f24b98b KT-7291 Copy/paste of java declaration with preceding comment omitted does not convert it to Kotlin propertly
#KT-7291 Fixed
2015-04-09 19:09:09 +03:00
Valentin Kipyatkov bfadd489a3 Imports on paste tests: generate result if does not exist and use default target file text 2015-04-09 19:09:09 +03:00
Valentin Kipyatkov c5a785577b Imports on paste: code refactoring 2015-04-09 19:09:09 +03:00
Valentin Kipyatkov 4a3592be50 Imports on paste: don't try to import symbols not visible from current module 2015-04-09 19:09:09 +03:00
Valentin Kipyatkov ea7732883e Tests: use errors dump instead of ALLOW_UNRESOLVED_REFERENCE 2015-04-09 19:09:08 +03:00
Valentin Kipyatkov 84a6f72ab3 Imports on paste: fixed overloaded extensions import 2015-04-09 19:09:08 +03:00
Valentin Kipyatkov 8d31a5c3a6 Imports on paste: do not suggest to import already imported extensions 2015-04-09 19:09:08 +03:00
Valentin Kipyatkov 0abc912208 Test to generate expected output if absent 2015-04-09 19:09:08 +03:00
Valentin Kipyatkov 93f1210f25 Imports on paste: added checking of symbols to import into test + fixed bug on copy/paste import/package directive 2015-04-09 19:09:08 +03:00
Valentin Kipyatkov 11380358ee Converted to Kotlin 2015-04-09 19:09:08 +03:00
Valentin Kipyatkov fe14107848 More simple code doing the same 2015-04-09 19:09:07 +03:00
Valentin Kipyatkov ff4ff78307 Use of Kotlin wrapper methods instead of Application.runReadAction/runWriteAction and CommandProcessor.executeCommand 2015-04-09 19:09:07 +03:00
Valentin Kipyatkov 00660bc59e No explicit runReadAction needed 2015-04-09 19:09:07 +03:00
Valentin Kipyatkov 1afbb961ee KT-7135 Java to Kotlin converter should update usages in Java and Koltin code in the rest of the project
#KT-7135 Fixed
2015-04-09 19:09:06 +03:00
Andrey Breslav b810ebbb0e Report exceptions from analyzer in the editor
They are rendered as errors and positioned on those expressions that cause them
2015-04-09 18:15:08 +03:00
Alexey Sedunov 5b3ff187da Create from Usage: Do not search usages of non-local properties 2015-04-09 13:49:25 +03:00
Alexey Sedunov 918eda0c9b Introduce Parameter: Do not suggest containers of object and non-inner classes 2015-04-09 13:49:24 +03:00
Alexey Sedunov 80134b9b2b Introduce Parameter: Support parameters without default values 2015-04-09 13:49:23 +03:00