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
Valentin Kipyatkov
6467b07245
RemoveCurlyBracesFromTemplateIntention - minor refactoring
2015-05-02 14:03:23 +03:00
Valentin Kipyatkov
3b87869bf7
ReconstructTypeInCastOrIsIntention - refactored
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
5ace57bc5f
"Move lambda function into parentheses" intention - smaller availability range
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
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
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
02659ca22d
Adjust project code to new labels syntax
2015-04-30 10:16:42 +03: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