Commit Graph

141 Commits

Author SHA1 Message Date
Valentin Kipyatkov 2d90ee5cad Split SpecifyTypeExplicitly intention into two + refactored them completely 2015-05-14 01:00:25 +03:00
Valentin Kipyatkov 05b6181d20 Renamed intention 2015-05-14 01:00:24 +03:00
Valentin Kipyatkov 475a361b32 Renamed intention 2015-05-14 01:00:24 +03:00
Valentin Kipyatkov bab4ae3879 Refactored ReplaceWithOperatorAssignIntention 2015-05-14 01:00:23 +03:00
Dmitry Jemerov 625096466e IDE testdata: s/trait/interface 2015-05-13 16:13:13 +02: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 1b7ac6bb02 Renamed intention to more clear name 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 65d59467a8 Renamed intention 2015-05-02 14:03:23 +03:00
Valentin Kipyatkov 3b87869bf7 ReconstructTypeInCastOrIsIntention - refactored 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
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 3b8167a8c3 rename "Kotlin Trait" file template to "Kotlin Interface" 2015-04-29 16:50:29 +02:00
Valentin Kipyatkov a8d629f609 ConvertToForEachLoopIntention - renamed 2015-04-16 22:00:54 +03:00
Valentin Kipyatkov c2335790b5 ConvertToExpressionBodyIntention - refactoring 2015-04-16 22:00:53 +03:00
Valentin Kipyatkov b980d98af6 ConvertToBlockBodyAction - refactoring 2015-04-16 22:00:53 +03:00
Valentin Kipyatkov dc6c6f13d5 OperatorToFunctionIntention and SwapBinaryExpressionIntention: more narrow availability range + no i18n 2015-04-16 22:00:52 +03:00
Alexey Sedunov 15dddf362e Create from Usage: Secondary constructor support 2015-03-30 21:10:25 +03:00
Evgeny Gerashchenko 1946360a80 Introduced "Unused receiver parameter" inspection. 2015-03-20 19:34:16 +03:00
Alexander Udalov 4b4f6a713a Implement "reflection not found" inspection and quick fix 2015-03-16 20:54:10 +03:00
Alexey Tsvetkov 8bc6ce0f0a Minor. Added object file template 2015-02-20 13:43:03 +03:00
Alexey Sedunov cef9996ba7 Intentions: Convert extension receiver to parameter and vice versa 2015-02-11 14:40:28 +03:00
Alexey Sedunov 03e076aba3 Intentions: function <-> property conversion 2015-02-05 23:12:38 +03:00
Evgeny Gerashchenko b781a09caf Implemented simplest version of unused symbol inspection. 2015-01-14 15:48:45 +03:00
Alexander Udalov 17227bb4fe Rename org.jetbrains.kotlin.plugin -> org.jetbrains.kotlin.idea 2015-01-13 01:14:31 +03:00
Alexander Udalov 36a469ccd5 Rename jet -> kotlin in idea: JetBundle 2015-01-11 07:03:44 +03:00
Alexander Udalov 9f4513dd75 Rename jet -> kotlin in idea: icons 2015-01-11 05:09:03 +03:00
Evgeny Gerashchenko d29cc61d42 Fixed description for "Simplify Binary Negation" inspection. 2014-12-08 17:30:42 +03:00
Andrey Breslav 7f0df032b4 Highlight dynamic calls in the editor 2014-12-01 20:43:41 +03:00
Svetlana Isakova ce01c61811 Rename: auto cast -> smart cast 2014-10-01 18:52:52 +04:00
Zack Grannan b2858e5b82 Added ConvertToConcatenatedStringIntention 2014-05-23 16:27:46 +04:00
Zack Grannan 42f186b33f Added String Concat -> Interpolation Intention (KT-4750) 2014-05-16 19:00:25 +04:00
Jeremy Kaplan b3842285e8 Implemented Operator To Function intention action.
Converts +a, --a, a * b, a..b, a %= b, a in b, etc. to their function call counterparts.
2014-05-12 21:04:51 +04:00
Pradyoth Kukkapalli 5550924dc5 New Intention Action: Invert If Condition
Inverts the conditional expression in an if expression.
2014-05-12 19:48:43 +04:00
Tal Man 814b558bcf Inspection to report negated binary expressions that can be simplified 2014-05-08 19:02:58 +04:00
Pradyoth Kukkapalli 33fd82cf45 New Intention: Replace for loop with forEach
Replaces an expression of the form “for (i in list) { … }” with an
expression of the form “list.forEach { i -> … }”
2014-05-07 14:01:37 +04:00
Pradyoth Kukkapalli dbb28c571b New Intention Action: Replace a call to forEach function with for loop.
Replaces an expression of form x.forEach { … } with for (a in x) { … }.
2014-05-07 14:00:50 +04:00
Natalia Ukhorskaya 020c127831 Fix typo in inspection description 2014-05-05 16:16:50 +04:00
Tal Man ab2ca539fe Inspection to report explicit type arguments that can be removed from function calls 2014-05-01 10:56:46 -04:00
Lingzhang 6066d19de5 Added KT-4579 makeTypeExplicitInLambda and makeTypeImplicitInLambda intentions 2014-04-24 18:11:43 +04:00
Tal Man f61db2decc Intention to transform an if an AssertionError throw into an assert 2014-04-24 15:36:34 +04:00
Zack Grannan aec5ae5dd4 Added IfThenToDoubleBangIntention 2014-04-22 22:33:08 +04:00
Zack Grannan 8476a790bd Added DoubleBangToIfThenIntention 2014-04-22 22:33:08 +04:00
Alexander Udalov 3b7c743acc Minor fix in assert<->if+throw intention description 2014-04-17 03:20:14 +04:00
Tal Man 9cff3ba049 Intention to convert assert to an if with throw 2014-04-15 19:26:39 -04:00
Tal Man b9e248b006 Intention for removing explicit type arguments at function calls 2014-04-14 11:14:09 -04:00
Natalia Ukhorskaya ed7a156553 Merge remote-tracking branch 'origin/pr/435'
Conflicts:
	idea/src/META-INF/plugin.xml
	idea/tests/org/jetbrains/jet/plugin/codeInsight/JetInspectionTestGenerated.java
2014-04-11 12:11:44 +04:00
Zack Grannan 867925d5a1 Added ifThenToSafeAccessInspection 2014-04-10 15:44:59 -07:00