Commit Graph

22154 Commits

Author SHA1 Message Date
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
Alexey Sedunov 6c28380be0 Intentions: Implement multi-file test class 2015-05-01 17:16:59 +03:00
Alexey Sedunov 8879166f53 Move: Add intention to change file package without moving it physically 2015-05-01 17:16:57 +03:00
Svetlana Isakova 6ee59a06dd Removed obsolete cache for object literals 2015-04-30 21:24:51 +03:00
Svetlana Isakova 02301a0d70 KT-7597 ErrorType leaked into backend
#KT-7597 Fixed
2015-04-30 21:24:51 +03:00
Mikhail Glukhikh f4dd685bbe Fix for a problem with smart cast impossible in a situation when it's not needed. A test for KT-3572. #KT-3572 Fixed. 2015-04-30 16:48:15 +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
Denis Zharkov ca8fb53ccd Fix old labels syntax in testData 2015-04-30 10:22:17 +03:00
Denis Zharkov bcee052302 Revert "Temporary parse label definitions with both syntax versions"
This reverts commit 3e3535f8cf.
2015-04-30 10:16:42 +03:00
Denis Zharkov 02659ca22d Adjust project code to new labels syntax 2015-04-30 10:16:42 +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 8cc9ea1c8a fix compilation 2015-04-29 18:06:29 +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 09a7e87102 fix text navigation offset for secondary constructors; add some missing element types to FindUsagesProvider
#KT-7607 Fixed
2015-04-29 18:34:53 +03:00
Dmitry Jemerov 8574c38998 fix usages of ClassKind.TRAIT in kdoc 2015-04-29 16:50:30 +02:00
Dmitry Jemerov 3b8167a8c3 rename "Kotlin Trait" file template to "Kotlin Interface" 2015-04-29 16:50:29 +02:00
Dmitry Jemerov 702188bbe2 regenerate JS reserved words test 2015-04-29 16:50:22 +02:00
Dmitry Jemerov b7b5333cb9 keyword completion test: trait -> interface 2015-04-29 16:50:21 +02:00