Commit Graph

2997 Commits

Author SHA1 Message Date
Natalia Ukhorskaya d7a301d698 Evaluate Expression: support local functions 2015-05-07 13:23:15 +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 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 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 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 3b87869bf7 ReconstructTypeInCastOrIsIntention - refactored 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 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 cda3344250 ForEach to for-loop intention: smaller range + refactoring 2015-05-02 14:03:21 +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 8879166f53 Move: Add intention to change file package without moving it physically 2015-05-01 17:16:57 +03:00
Dmitry Jemerov 093878bd06 correctly implement JetSimpleNameReference.getTextRange() so that it doesn't include the @ character for references in labels
#KT-7560 Fixed
2015-04-30 16:12:03 +03:00
Dmitry Jemerov 1d8786dabf allow renaming functions which are members of anonymous objects
#KT-5857 Fixed
2015-04-29 20:09:17 +02:00
Dmitry Jemerov 46841ef447 fix expected testdata for StubBuilderTestGenerated 2015-04-29 19:19:40 +02:00
Dmitry Jemerov f0b7830521 use new API for indexing identifiers and TODO items in Kotlin files that allows reusing the lexer for building both indices; index TODO items in KDoc comments
#KT-5677 Fixed
2015-04-29 18:38:10 +03:00
Dmitry Jemerov f61a4a15cc rename "isTrait" to "isInterface": update test data 2015-04-29 16:50:20 +02:00
Dmitry Jemerov 55cfd3b0c7 fix QuickFixTestGenerated$Expressions.testRemoveUselessCast 2015-04-29 16:33:39 +02:00
Dmitry Jemerov 94071550e3 fix JetPsiCheckerTest 2015-04-29 16:33:38 +02:00
Dmitry Jemerov f374eec8f1 deprecating types after colon 2015-04-29 16:33:24 +02:00
Nikolay Krasko 90cdb19324 Add origin for generated jvm overloads and tweak equals methods to distinguish them
- KT-7586 Strange navigation issue

 #KT-7586 Fixed
2015-04-29 15:20:31 +03:00
Dmitry Jemerov f93eeeb563 fix tests by adding missing 'init' keywords to testdata 2015-04-29 14:07:05 +02:00
Dmitry Jemerov 98b8784ab0 drop deprecated syntax for anonymous initializer blocks 2015-04-29 14:07:04 +02:00
Denis Zharkov 1fc742ffeb Add quickfix for java.lang.Class as annotation parameter 2015-04-29 14:03:11 +03:00
Denis Zharkov 44a55e5bf6 Adjust testData to new labels syntax 2015-04-29 14:03:11 +03:00
Alexander Udalov fe602d34ce Support type annotations in cls stub builder
Also add test on decompiler
2015-04-29 01:03:56 +03:00
asedunov 7d28f8d2cf Merge pull request #656 from JetBrains/rr/yole/kt7483
fix JetPsiUtil.deleteClass() so that it no longer tries to delete the en...
2015-04-28 15:49:42 +03:00
asedunov e701f8878d Merge pull request #657 from JetBrains/rr/yole/kt5207
support custom folding regions for Kotlin
2015-04-28 15:46:24 +03:00
Alexey Sedunov 7831e75955 Change Signature: Introduce variable for expression which can't be safely copied in the course of argument substitution 2015-04-27 23:02:39 +03:00
Alexey Sedunov 14f63cdce5 Change Signature: Substitute parameter references in default values of call expression arguments 2015-04-27 23:02:38 +03:00
Dmitry Jemerov 3af20b5d45 support custom folding regions for Kotlin
#KT-5207 Fixed
2015-04-27 19:22:37 +02:00
Dmitry Jemerov c2944181be fix JetPsiUtil.deleteClass() so that it no longer tries to delete the entire file when deleting a nested class or object
#KT-7483 Fixed
2015-04-27 18:37:43 +02:00
Natalia Ukhorskaya 328013a351 Evaluate Expression: box and unbox arguments before running JDIEval 2015-04-27 18:43:47 +03:00
Natalia Ukhorskaya 7723a9f434 Fix evaluate expression on properties with getter 2015-04-27 18:43:46 +03:00
Dmitry Jemerov 478b18e376 remove two final occurrences of 'class object' from testdata 2015-04-27 15:14:34 +02:00
Dmitry Jemerov 683d727c72 drop deprecated syntax for class objects 2015-04-27 15:14:33 +02:00