Dmitry Jemerov
dc9523016a
report 'trait' keyword as deprecated, provide quickfix for replacing with 'interface'
2015-05-15 18:20:39 +02:00
Mikhail Glukhikh
67cce57aeb
Decompiler & stub builder fixed accordingly with new enum syntax.
...
Companion object now directly follows enum entries to avoid having them at the middle.
Some decompiler & stub builder tests fixed accordingly.
2015-05-15 16:13:29 +03:00
Nikolay Krasko
6b64ae77f3
Test light classes from sources have priority over decompiled light classes
2015-05-15 15:29:31 +03:00
Evgeny Gerashchenko
a93cc083d6
Don't try to find local descriptors in decompiled classes.
2015-05-14 21:51:08 +03:00
Alexander Udalov
62d0d5c77f
Minor, fix error message when renaming package facade
2015-05-14 18:40:49 +03:00
Alexey Sedunov
7f05b35332
Minor: Fix checkox mnemonic
2015-05-14 15:47:54 +03:00
Valentin Kipyatkov
181af17315
KT-7704 Intention actions on visibility modifier for quick changing it
...
#KT-7704 Fixed
2015-05-14 01:10:11 +03:00
Valentin Kipyatkov
ad91d2cd9e
Removed unused deprecated constructors
2015-05-14 01:10:10 +03:00
Valentin Kipyatkov
462074df8c
MergeWhenIntention code refactoring + smaller range
2015-05-14 01:10:09 +03:00
Valentin Kipyatkov
fc3609d403
SimplifyNegatedBinaryExpressionIntention - no i18n + code simplification
2015-05-14 01:10:08 +03:00
Valentin Kipyatkov
0422cf402d
RemoveExplicitTypeArguments - no i18n + minor
2015-05-14 01:10:07 +03:00
Valentin Kipyatkov
54051c40dc
Moved 2 intentions from idea-analysis to idea
2015-05-14 01:10:07 +03:00
Valentin Kipyatkov
8095aabd42
Refactored intentions to replace special name calls with operators
2015-05-14 01:10:04 +03:00
Valentin Kipyatkov
a23c6a2cdc
Smaller range + refactoring of ConvertMemberToExtension
2015-05-14 01:10:02 +03:00
Valentin Kipyatkov
a3bd6ca017
Introduced shortcut properties + getArrowNode -> getArrow
2015-05-14 01:10:00 +03:00
Valentin Kipyatkov
4488a6719d
Refactored DeclarationUtils
2015-05-14 01:09:59 +03:00
Valentin Kipyatkov
776e653421
Refactored SafeAccessToIfThenIntention
2015-05-14 01:09:58 +03:00
Valentin Kipyatkov
2b77fe2ff1
Refactored IfThenToDoubleBangIntention
2015-05-14 01:09:56 +03:00
Valentin Kipyatkov
3743e9f508
Refactored UnfoldBranchedExpressionIntention's getting rid of UnfoldableKind
2015-05-14 01:09:54 +03:00
Valentin Kipyatkov
832b4fb8d8
Refactored FoldBranchedExpressionIntention removing common subclass and FoldableKind
2015-05-14 01:09:50 +03:00
Valentin Kipyatkov
b9486846e1
ElvisToIfThenIntention - smaller range + minor code improvements
2015-05-14 01:09:48 +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
07a89b38e1
Intention based intentions: added ability to highlight partial range, used it in new inspection based on IntroduceWhenSubjectIntention + added missing description
2015-05-14 01:00:29 +03:00
Valentin Kipyatkov
45c5454e39
Refactored IntroduceWhenSubjectIntention
2015-05-14 01:00:29 +03:00
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
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
0ca492464b
Refactored SimplifyBooleanWithConstantsIntention
2015-05-14 01:00:26 +03:00
Valentin Kipyatkov
0c7a366ddf
No i18n
2015-05-14 01:00:26 +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
8fc799322b
Refactored ReplaceWithTraditionalAssignmentIntention
2015-05-14 01:00:24 +03:00
Valentin Kipyatkov
bab4ae3879
Refactored ReplaceWithOperatorAssignIntention
2015-05-14 01:00:23 +03: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
f13eb038e1
Introduce Parameter: Java -> Kotlin Interoperability
2015-05-08 11:43:00 +03:00
Denis Zharkov
e59a0dd0c6
Adjust KotlinSuppressIntentionAction to syntax with '@'
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
Valentin Kipyatkov
2de466970d
ReplaceWithInfixFunctionCallIntention - refactored
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
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
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