Commit Graph

22172 Commits

Author SHA1 Message Date
Natalia Ukhorskaya d7a301d698 Evaluate Expression: support local functions 2015-05-07 13:23:15 +03:00
Natalia Ukhorskaya 8c99183970 Write local functions to localVariables table 2015-05-07 13:23:03 +03:00
Natalia Ukhorskaya 35f9cb5405 Extract function: capture only local functions, not from local declarations 2015-05-07 13:22:10 +03:00
Natalia Ukhorskaya 35bacb4ac7 Refactoring: extract FrameVisitor class 2015-05-07 13:22:08 +03:00
Natalia Ukhorskaya 4848af5ef6 Minor: fix warnings 2015-05-07 13:22:06 +03:00
Alexey Tsvetkov 68603d188b JS: ExpressionDecomposer should always visit JsInvocation qualifier 2015-05-06 18:19:21 +03:00
Alexey Tsvetkov 8db104ef36 JS: decomposition should preserve 'this' context with invocations
#KT-7502 fixed
2015-05-06 18:19:21 +03:00
Nikolay Krasko 2d8dcaddd0 Compile modules with circular dependency as one module 2015-05-06 14:19:20 +03:00
Nikolay Krasko 3b18a44340 Allow to use Kotlin reflection in all modules with Kotlin 2015-05-06 14:18:27 +03:00
Nikolay Krasko 9d986d077c Move kotlin runtime library to end of classpath and remove duplicates with 'util' package 2015-05-06 14:18:24 +03:00
Nikolay Krasko 62a8174072 Fix compatibility issue 2015-05-05 16:43:24 +03:00
Michael Bogdanov 49f063522c Inline util functions renaming 2015-05-05 12:47:57 +03:00
Michael Bogdanov fe23f23664 Support inlined functional expressions in debugger 2015-05-05 12:47:56 +03:00
Michael Bogdanov e0aa64b8d2 Support functional expression in non-local returns 2015-05-05 12:47:56 +03:00
Valentin Kipyatkov 3a6e5ac78c Corrected test data 2015-05-02 14:03:26 +03:00
Valentin Kipyatkov 73f764abd0 Minor changes on code review 2015-05-02 14:03:26 +03:00
Valentin Kipyatkov d1afff1612 Renamed intention 2015-05-02 14:03:25 +03:00
Valentin Kipyatkov 2de466970d ReplaceWithInfixFunctionCallIntention - refactored 2015-05-02 14:03:25 +03:00
Valentin Kipyatkov 9dd67cfc4d InfixCallToOrdinaryIntention - smaller range + minor code improvements 2015-05-02 14:03:25 +03:00
Valentin Kipyatkov 1b7ac6bb02 Renamed intention to more clear name 2015-05-02 14:03:25 +03:00
Valentin Kipyatkov 7d6145e105 J2K converter applies IfNullToElvisIntention automatically 2015-05-02 14:03:25 +03:00
Valentin Kipyatkov 38f735dcac IfNullToElvisIntention - better behavior for var's + slightly refactored utility functions 2015-05-02 14:03:25 +03:00
Valentin Kipyatkov 186dd5454d Added inspection based on IfNullToElvisIntention + moved intention based inspections into one file 2015-05-02 14:03:24 +03:00
Valentin Kipyatkov 8d887f8780 In progress: KT-7442 Inspection + intention to replace "if (xxx == null) return ..' with elvis 2015-05-02 14:03:24 +03:00
Valentin Kipyatkov c52f69538d Fixed test data 2015-05-02 14:03:24 +03:00
Valentin Kipyatkov 1daf12cf70 ReplaceItWithExplicitFunctionLiteralParamIntention - better caret position 2015-05-02 14:03:24 +03:00
Valentin Kipyatkov 01a8ff0860 Refactored ReplaceItWithExplicitFunctionLiteralParamIntention 2015-05-02 14:03:24 +03:00
Valentin Kipyatkov c7937f181b Refactored ReplaceExplicitFunctionLiteralParamWithItIntention 2015-05-02 14:03:24 +03:00
Valentin Kipyatkov 65d59467a8 Renamed intention 2015-05-02 14:03:23 +03:00
Valentin Kipyatkov 175806a902 "Make types implicit in lambda" intention - adapted to new lambda syntax + do not work on closing brace 2015-05-02 14:03:23 +03:00
Valentin Kipyatkov c6b18efb15 "Remove unnecessary parentheses" intention - smaller range & refactoring 2015-05-02 14:03:23 +03:00
Valentin Kipyatkov 444da656e6 RemoveCurlyBracesFromTemplateIntention - shorter text 2015-05-02 14:03:23 +03:00
Valentin Kipyatkov 6467b07245 RemoveCurlyBracesFromTemplateIntention - minor refactoring 2015-05-02 14:03:23 +03:00
Valentin Kipyatkov 9996afbde3 Minor 2015-05-02 14:03:23 +03:00
Valentin Kipyatkov 3b87869bf7 ReconstructTypeInCastOrIsIntention - refactored 2015-05-02 14:03:22 +03:00
Valentin Kipyatkov 1780d469d5 Converted to Kotlin (step 2) 2015-05-02 14:03:22 +03:00
Valentin Kipyatkov ea62fafa69 Converted to Kotlin (step 1) 2015-05-02 14:03:22 +03:00
Valentin Kipyatkov 995b82ae62 Renamed test data directory 2015-05-02 14:03:22 +03:00
Valentin Kipyatkov b959c7f2c0 "Move lambda argument out of parentheses" intention - smaller range 2015-05-02 14:03:22 +03:00
Valentin Kipyatkov 077307b518 "Move lambda argument into parentheses" intention - slightly wider range 2015-05-02 14:03:22 +03:00
Valentin Kipyatkov f631f97a22 "Move lambda function into parentheses" -> "Move lambda argument into parentheses" 2015-05-02 14:03:21 +03:00
Valentin Kipyatkov 5ace57bc5f "Move lambda function into parentheses" intention - smaller availability range 2015-05-02 14:03:21 +03:00
Valentin Kipyatkov f1fa33548a "Make types explicit in lambda" intention renamed to "Specify explicit lambda signature" 2015-05-02 14:03:21 +03:00
Valentin Kipyatkov f9d690db21 "Make types explicit in lambda" intention: not available on right brace + adapted to new lambda syntax + refactored 2015-05-02 14:03:21 +03:00
Valentin Kipyatkov 252399b9a9 "Invert if condition" intention - smaller availability range + refactored 2015-05-02 14:03:21 +03:00
Valentin Kipyatkov cda3344250 ForEach to for-loop intention: smaller range + refactoring 2015-05-02 14:03:21 +03:00
Alexey Sedunov ad9317d047 Specify Type Explicitly: Reuse injected instance of TemplateManager 2015-05-01 18:58:15 +03:00
Alexey Sedunov ee83435830 Move: Implement member selection UI 2015-05-01 18:58:12 +03:00
Alexey Sedunov d096e74c10 Move: Implement inspection which reports mismatch between package directive and containing directory 2015-05-01 18:58:09 +03:00
Alexey Sedunov fe96a8563a Inspections: Implement multi-file test class 2015-05-01 17:17:00 +03:00