Valentin Kipyatkov
102aa661ee
Moved intention based inspection classes to their intention classes + some renames
2015-05-14 01:10:08 +03:00
Valentin Kipyatkov
9a97818b82
Smaller range for SimplifyNegatedBinaryExpressionIntention
2015-05-14 01:10:08 +03:00
Valentin Kipyatkov
addcadeddf
Replace "contains" with "in" intention handles negation
2015-05-14 01:10:06 +03:00
Valentin Kipyatkov
11812a9ece
Renamed some intentions + test data dirs
2015-05-14 01:10:05 +03:00
Valentin Kipyatkov
096df91972
Renamed intentions package
2015-05-14 01:10:05 +03:00
Valentin Kipyatkov
8095aabd42
Refactored intentions to replace special name calls with operators
2015-05-14 01:10:04 +03:00
Valentin Kipyatkov
fbc3fa2b09
KT-7212 Convert member function to extension intenton positions caret improperly
...
#KT-7212 Fixed
2015-05-14 01:10:04 +03:00
Valentin Kipyatkov
5491523f05
Renamed intention class
2015-05-14 01:10:03 +03:00
Valentin Kipyatkov
48ac89dca4
Refactored ConvertMemberToExtension to re-use original declaration instead of regenerating it by text
...
#KT-4920 Fixed
2015-05-14 01:10:02 +03:00
Valentin Kipyatkov
ac9d75b45e
KT-6632 "Convert to extension" intention should not be available on methods that override or implement a superclass method
...
#KT-6632 Fixed
2015-05-14 01:10:02 +03:00
Valentin Kipyatkov
a23c6a2cdc
Smaller range + refactoring of ConvertMemberToExtension
2015-05-14 01:10:02 +03:00
Valentin Kipyatkov
ceb9b3d663
Fixed test data
2015-05-14 01:09:53 +03:00
Valentin Kipyatkov
67a5e8a69d
Fixed bug in DeprecatedLambdaSyntaxFix
2015-05-14 01:09:52 +03:00
Valentin Kipyatkov
b9486846e1
ElvisToIfThenIntention - smaller range + minor code improvements
2015-05-14 01:09:48 +03:00
Valentin Kipyatkov
21eb2acd31
Shorter quickfix names
2015-05-14 01:09:47 +03:00
Valentin Kipyatkov
e31f0ed829
Add constructor parameters quickfix reuses existing parameters
2015-05-14 01:09:46 +03:00
Valentin Kipyatkov
0952e9a63a
Add constructor parameters quickfix works for multiple constructors
2015-05-14 01:09:46 +03:00
Valentin Kipyatkov
4ac2e29d28
Fixed error type case
2015-05-14 01:09:45 +03:00
Valentin Kipyatkov
c6ebc50e6c
Renaming test data files
2015-05-14 01:09:45 +03:00
Valentin Kipyatkov
381049d13e
Fix for non-accessible constructor case
2015-05-14 01:09:44 +03:00
Valentin Kipyatkov
a5dabac296
Refactored "Change to constructor invocation" and new "Add constructor parameters and use them" quickfixes into one factory, making the first one always available
2015-05-14 01:09:44 +03:00
Valentin Kipyatkov
cd419c2ddf
Moved test data
2015-05-14 01:09:44 +03:00
Valentin Kipyatkov
00dcbd4d93
Initial implementation of KT-4046 Support 'Create constructor matching superclass'
...
#KT-4046 Fixed
2015-05-14 01:09:21 +03:00
Valentin Kipyatkov
734b502ad6
Fixed test data
2015-05-14 01:00:30 +03:00
Valentin Kipyatkov
709573db69
Fix in SpecifyTypeExplicitlyIntention
2015-05-14 01:00:29 +03:00
Valentin Kipyatkov
ada11ca5e9
Use of expressions instead of plain text when converting when's
2015-05-14 01:00:28 +03:00
Valentin Kipyatkov
76fc0c1418
FlattenWhenIntention - smaller range and refactoring
2015-05-14 01:00:28 +03:00
Valentin Kipyatkov
74cdd39ac9
Renamed test data dirs
2015-05-14 01:00:26 +03:00
Valentin Kipyatkov
b0ce16eada
Remove explicit type intention should not be available on public
2015-05-14 01:00:25 +03:00
Valentin Kipyatkov
2d90ee5cad
Split SpecifyTypeExplicitly intention into two + refactored them completely
2015-05-14 01:00:25 +03:00
Valentin Kipyatkov
7499c4bc19
Refactored SplitIfIntention + JetPsiFactory.createIf uses createExpressionByPattern and does not reformat its arguments
2015-05-14 01:00:25 +03:00
Valentin Kipyatkov
b0aca040d8
"JetPsiFactory.createExpressionByPattern" and some usages of it
2015-05-14 01:00:24 +03:00
Valentin Kipyatkov
05b6181d20
Renamed intention
2015-05-14 01:00:24 +03:00
Valentin Kipyatkov
c617d5256e
ReplaceWithTraditionalAssignmentIntention - smaller range
2015-05-14 01:00:24 +03:00
Valentin Kipyatkov
8fc799322b
Refactored ReplaceWithTraditionalAssignmentIntention
2015-05-14 01:00:24 +03:00
Valentin Kipyatkov
475a361b32
Renamed intention
2015-05-14 01:00:24 +03:00
Dmitry Jemerov
95f42ac050
fix test: redundant parentheses are no longer generated
2015-05-13 21:19:36 +02:00
Dmitry Jemerov
6f4cae03fe
Quickfix to add a loop label when 'break' or 'continue' is used in a loop inside 'when'
...
#KT-7202 Fixed
2015-05-13 17:26:18 +02:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Dmitry Jemerov
b1c4a5670a
provide element type name for multi-declaration entries; enable in-place rename for those; show local properties as "variable"
...
#KT-7627 Fixed
2015-05-12 16:18:03 +02:00
Dmitry Jemerov
9975bb8935
replace 'trait' keyword with 'interface' in user-visible messages and code generation tools
2015-05-12 11:49:37 +02:00
Alexey Sedunov
339383b5b1
Extract Function: Add test for ===
...
#KT-7663 Fixed
2015-05-11 20:57:59 +03:00
Ilya Gorbunov
31b9ee65e0
Change the expected output after joinToString signature was changed.
2015-05-09 01:11:51 +03:00
Valentin Kipyatkov
837e46a9b8
Big change in quickfix tests: no stupid test data format with "before" and "after" file prefixes
2015-05-08 22:29:42 +03:00
Alexey Sedunov
f13eb038e1
Introduce Parameter: Java -> Kotlin Interoperability
2015-05-08 11:43:00 +03:00
Denis Zharkov
e2cd983d49
Add quickfix for replacing deprecated annotations
2015-05-07 22:36:17 +03:00
Denis Zharkov
e59a0dd0c6
Adjust KotlinSuppressIntentionAction to syntax with '@'
2015-05-07 22:36:16 +03:00
Denis Zharkov
849b8acbf8
Replace annotations with brackets in testData
...
Just in tests that changed after deprecation
2015-05-07 22:36:16 +03:00
Denis Zharkov
1d77f50903
Refine highlighting of '@'
...
- Do not highlight '@' as separate token.
- Highlight '@' the same way as element where it's located: annotation, label or modifier.
- Extend text range when positioning unresolved reference in annotation with '@'.
Note that currently '@' is collapsed with modifiers tokens
2015-05-07 22:36:16 +03:00
Denis Zharkov
b13e932c3c
Parse label reference with spaces before '@'
...
But still report error
2015-05-07 22:36:15 +03:00