Valentin Kipyatkov
ea6b632cea
WhenToIfIntention - smaller range and refactoring
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
428bcbbc8a
No use of WhenBuilder at all
2015-05-14 01:00:28 +03:00
Valentin Kipyatkov
4f96965310
No use of WhenBuilder in introduceSubject
2015-05-14 01:00:28 +03:00
Valentin Kipyatkov
b200324a86
EliminateWhenSubjectIntention - no use of WhenBuilder
2015-05-14 01:00:27 +03:00
Valentin Kipyatkov
b1d0365c2f
IfToWhenIntention - no use of WhenBuilder
2015-05-14 01:00:27 +03:00
Valentin Kipyatkov
47c613c477
IfToWhenIntention - smaller range and code refactoring
2015-05-14 01:00:27 +03:00
Valentin Kipyatkov
50f2c13cac
EliminateWhenSubjectIntention - smaller range and code refactoring
2015-05-14 01:00:27 +03:00
Valentin Kipyatkov
3702add034
Refactored IfThenToSafeAccessIntention
2015-05-14 01:00:27 +03:00
Valentin Kipyatkov
f2cced4384
Code improvements in IfThenToElvisIntention
2015-05-14 01:00:27 +03:00
Valentin Kipyatkov
345f9217ae
DoubleBangToIfThenIntention - smaller range + minor code improvements
2015-05-14 01:00:27 +03:00
Valentin Kipyatkov
f892e17d6b
Refactored ConvertIfWithThrowToAssertIntention
2015-05-14 01:00:26 +03:00
Valentin Kipyatkov
392a1f52eb
Fixed JetTypeLookupExpression
2015-05-14 01:00:26 +03:00
Valentin Kipyatkov
74cdd39ac9
Renamed test data dirs
2015-05-14 01:00:26 +03:00
Valentin Kipyatkov
f73c4b296e
Converted to Kotlin
2015-05-14 01:00:26 +03:00
Valentin Kipyatkov
0ca492464b
Refactored SimplifyBooleanWithConstantsIntention
2015-05-14 01:00:26 +03:00
Valentin Kipyatkov
1fa14af02f
Converted to Kotlin
2015-05-14 01:00:26 +03:00
Valentin Kipyatkov
0c7a366ddf
No i18n
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
d956d31012
Minor code editings after conversion
2015-05-14 01:00:25 +03:00
Valentin Kipyatkov
899a28f5ec
Converted to Kotlin (step 2)
2015-05-14 01:00:25 +03:00
Valentin Kipyatkov
1251663099
Converted to Kotlin (step 1)
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
de8601bb5d
Got rid of JetPsiFactory.createBinaryExpression
2015-05-14 01:00:24 +03:00
Valentin Kipyatkov
b0aca040d8
"JetPsiFactory.createExpressionByPattern" and some usages of it
2015-05-14 01:00:24 +03:00
Valentin Kipyatkov
0a5951fcb9
Minor
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
Valentin Kipyatkov
435e9fed3f
Added inspection based on ReplaceWithOperatorAssignIntention
2015-05-14 01:00:23 +03:00
Valentin Kipyatkov
bab4ae3879
Refactored ReplaceWithOperatorAssignIntention
2015-05-14 01:00:23 +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
0582d1947d
JetRefactoringSupportProvider: J2K
2015-05-12 16:18:01 +02:00
Dmitry Jemerov
d990bbffdc
JetRefactoringSupportProvider: rename to .kt
2015-05-12 16:18:01 +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
aed6ed0f9b
Introduce Parameter: Fix occurrence replacement when parameter name/type is changed by the user
2015-05-12 01:01:43 +03:00
Alexey Sedunov
ca54fe0883
Introduce Property: Fix primary occurrence replacement
...
#KT-7610 Fixed
2015-05-11 20:58:02 +03: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