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
Denis Zharkov
b13e932c3c
Parse label reference with spaces before '@'
...
But still report error
2015-05-07 22:36:15 +03:00
Nikolay Krasko
0fa93d59c5
Get context for partial resolve if we have result for full analyze already
2015-05-07 20:14:12 +03:00
Natalia Ukhorskaya
d7a301d698
Evaluate Expression: support local functions
2015-05-07 13:23:15 +03:00
Natalia Ukhorskaya
35f9cb5405
Extract function: capture only local functions, not from local declarations
2015-05-07 13:22:10 +03:00
Natalia Ukhorskaya
35bacb4ac7
Refactoring: extract FrameVisitor class
2015-05-07 13:22:08 +03:00
Natalia Ukhorskaya
4848af5ef6
Minor: fix warnings
2015-05-07 13:22:06 +03:00
Nikolay Krasko
3b18a44340
Allow to use Kotlin reflection in all modules with Kotlin
2015-05-06 14:18:27 +03:00
Nikolay Krasko
9d986d077c
Move kotlin runtime library to end of classpath and remove duplicates with 'util' package
2015-05-06 14:18:24 +03:00
Nikolay Krasko
62a8174072
Fix compatibility issue
2015-05-05 16:43:24 +03:00
Michael Bogdanov
49f063522c
Inline util functions renaming
2015-05-05 12:47:57 +03:00
Michael Bogdanov
fe23f23664
Support inlined functional expressions in debugger
2015-05-05 12:47:56 +03:00
Michael Bogdanov
e0aa64b8d2
Support functional expression in non-local returns
2015-05-05 12:47:56 +03:00
Valentin Kipyatkov
3a6e5ac78c
Corrected test data
2015-05-02 14:03:26 +03: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
2de466970d
ReplaceWithInfixFunctionCallIntention - refactored
2015-05-02 14:03:25 +03:00
Valentin Kipyatkov
9dd67cfc4d
InfixCallToOrdinaryIntention - smaller range + minor code improvements
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
7d6145e105
J2K converter applies IfNullToElvisIntention automatically
2015-05-02 14:03:25 +03:00
Valentin Kipyatkov
38f735dcac
IfNullToElvisIntention - better behavior for var's + slightly refactored utility functions
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
8d887f8780
In progress: KT-7442 Inspection + intention to replace "if (xxx == null) return ..' with elvis
2015-05-02 14:03:24 +03:00
Valentin Kipyatkov
c52f69538d
Fixed test data
2015-05-02 14:03:24 +03:00
Valentin Kipyatkov
1daf12cf70
ReplaceItWithExplicitFunctionLiteralParamIntention - better caret position
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
65d59467a8
Renamed intention
2015-05-02 14:03:23 +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
444da656e6
RemoveCurlyBracesFromTemplateIntention - shorter text
2015-05-02 14:03:23 +03:00
Valentin Kipyatkov
6467b07245
RemoveCurlyBracesFromTemplateIntention - minor refactoring
2015-05-02 14:03:23 +03:00
Valentin Kipyatkov
9996afbde3
Minor
2015-05-02 14:03:23 +03:00
Valentin Kipyatkov
3b87869bf7
ReconstructTypeInCastOrIsIntention - refactored
2015-05-02 14:03:22 +03:00