Alexey Sedunov
58126b28ca
Create From Usage: Quick-fix for properties
2014-10-03 20:18:41 +04:00
Alexey Sedunov
8386bcd4e0
Create Local Variable From Usage: Support lambdas
2014-10-03 20:18:39 +04:00
Alexey Sedunov
6ad2157806
Create From Usage: Quick-fix for value parameters
2014-10-03 20:18:39 +04:00
Svetlana Isakova
ce01c61811
Rename: auto cast -> smart cast
2014-10-01 18:52:52 +04:00
Alexey Sedunov
4ca39e8f9a
Create From Usage: Quick-fix for local variables
2014-09-30 19:55:46 +04:00
Alexey Sedunov
e9b16f3e1b
Create Function From Usage: Use Any if error type is inferred
2014-09-30 19:55:44 +04:00
Alexey Sedunov
854962a139
Create Function From Usage: Fix availability condition
2014-09-30 19:55:43 +04:00
Alexey Sedunov
a6ba3a569d
Create From Usage: Move "Create function"-related tests to separate directory
2014-09-30 19:55:43 +04:00
Alexey Sedunov
ff29e581db
Create Function From Usage: Add empty lines when inserting new function
2014-09-29 01:27:28 +04:00
Alexey Sedunov
6043c6d0a7
Create Function From Usage: Quick-fix for functions invoked via call expressions
2014-09-29 01:27:25 +04:00
Alexey Sedunov
67df2b448f
Create Function From Usage: Quick-fix for invoke convention
2014-09-29 01:27:23 +04:00
Alexey Sedunov
cf59af6c7a
Create Function From Usage: Quick-fix for unary operations
2014-09-29 01:27:22 +04:00
Alexey Sedunov
0582cf5db1
Create Function From Usage: Quick-fix for binary operations
2014-09-29 01:27:20 +04:00
Alexey Sedunov
424c086ba3
Sort list of declarations suggested for auto-import by proximity
...
#KT-2050 Fixed
2014-09-11 21:04:27 +04:00
Svetlana Isakova
4590452b27
Added tests for KT-4870 "Change to constructor invocation" quick fix doesn't work
...
for local classes, objects and object expressions
#KT-4870 Obsolete
2014-09-07 01:03:59 +04:00
Valentin Kipyatkov
855cc2443f
KT-4976 Completion ignores smart casts
...
#KT-4976 Fixed
#KT-5718 Fixed
2014-09-03 15:43:25 +04:00
Valentin Kipyatkov
ae9eb19f39
Auto-import popup to import global properties
...
#KT-4541 Fixed
#KT-3097 Fixed
2014-08-27 19:07:38 +04:00
Valentin Kipyatkov
f8e2841c2b
Checked that auto-import works for extension properties
2014-08-27 19:07:38 +04:00
Alexey Sedunov
9cbcabffa4
Control-Flow Analysis: Reuse pseudo-value information for unused expression analysis
2014-07-28 13:07:37 +04:00
Valentin Kipyatkov
2df60a27c8
Better code for change variable mutability fix
2014-07-10 23:20:39 +04:00
Svetlana Isakova
e62b4cfb5f
Invoke 'Add name to argument fix' not only on simple name callee expressions
2014-07-08 14:57:40 +04:00
Pavel V. Talanov
23c9080ff3
Drop MigrateSureInProjectFix
2014-07-03 20:46:53 +04:00
Pavel V. Talanov
e3c170183e
Fix invalid usage of descriptorToDeclaration in QuickFixUtil
2014-06-24 16:37:44 +04:00
Pavel V. Talanov
41dd12d46b
Fix invalid usage of descriptorToDeclaration in QuickFixFactoryForTypeMismatchError
2014-06-24 16:37:44 +04:00
Nikolay Krasko
80d6b0800e
Make ResolveSessionForBodies.resolveToDescriptor() work for local declarations (EA-56877)
...
Fix (EA-56877)
2014-05-23 15:36:31 +04:00
Jeremy Kaplan
b3842285e8
Implemented Operator To Function intention action.
...
Converts +a, --a, a * b, a..b, a %= b, a in b, etc. to their function call counterparts.
2014-05-12 21:04:51 +04:00
Alexander Udalov
5a0055cbeb
Fix message case in JetBundle.properties
...
Intention names should be lowercase, family names should have each word
except prepositions capitalized
2014-05-12 16:47:00 +04:00
Lingzhang
6066d19de5
Added KT-4579 makeTypeExplicitInLambda and makeTypeImplicitInLambda intentions
2014-04-24 18:11:43 +04:00
Andrey Breslav
9da2cbd5e8
Duplicating diagnostics removed from test data
2014-04-18 21:28:23 +04:00
Andrey Breslav
708694a09d
Resolve annotation arguments only once
2014-03-26 21:10:29 +04:00
Alexey Sedunov
028a71273c
Fix test data of QuickFixTest
2014-03-25 16:49:44 +04:00
Zack Grannan
1f720c8559
Added safeAccessToIfThen intention
2014-03-12 16:02:55 +04:00
Andrey Breslav
f752527e48
Test data fixed after adding a new intention
2014-03-05 12:02:14 +04:00
Alexander Udalov
f7b6457139
Replace "jet" package name with "kotlin" in testData
2014-03-02 19:55:26 +04:00
Alexander Udalov
b2d074c5cc
Quickfix to add 'override' to equals, hashCode, toString in project
...
To help users migrate to the newest Kotlin version in two clicks
2014-03-02 19:54:55 +04:00
Alexander Udalov
ec30d52978
Delete Hashable, pull up its members to Any
...
Extensions on nullable types remain in Library.kt
#KT-1741 Obsolete
#KT-2805 Obsolete
#KT-1365 Fixed
#KT-4517 In Progress
2014-03-02 19:54:08 +04:00
Alexander Udalov
9537b68724
Load 'equals' parameter from Java code with the name 'other'
...
This fixes a lot of warnings on mixed Kotlin+Java code about different names
for the same parameter because we always loaded 'equals' parameter with the
name 'p0', whereas in Kotlin we usually name it 'other'
2014-02-28 21:48:29 +04:00
Natalia Ukhorskaya
fd3f852a93
Annotation parameter must be constant on vararg and array arguments
2014-01-28 18:21:43 +04:00
Valentin Kipyatkov
d01ff28212
Quickfix and intention tests refactoring: refer to intention action by class when checking that it's not available (instead of listing all available actions)
2014-01-23 18:46:27 +04:00
Evgeny Gerashchenko
ae4c68830d
Importing root scope without members.
2014-01-16 22:11:55 +04:00
Pavel V. Talanov
e693820fb4
Auto-imports for operator calls and infix calls
...
#KT-1613 Fixed
#KT-4192 Fixed
Enable auto-import fix for "unresolved reference with wrong receiver" diagnostic
2013-12-31 13:24:38 +04:00
Andrey Breslav
6df3a3042c
Properly handle the case of backing field access qualified with 'this' reference
2013-12-05 13:28:40 +04:00
svtk
8defeef050
made UNREACHABLE_CODE a warning instead of error
2013-11-22 18:57:59 +04:00
Pavel V. Talanov
f9a2b09a4e
Add(Remove)ParameterQuickFix is not available for unmodifiable files
2013-11-12 14:15:57 +04:00
Pavel V. Talanov
66cc9b2cc7
Show error hint when trying to refactor synthesized function
2013-11-12 14:15:48 +04:00
Pavel V. Talanov
f032b6e236
Eliminate redundant descriptorToDeclaration call from factory for "Change signature" quick fixes
2013-11-12 14:15:47 +04:00
Pavel V. Talanov
8c95884ad2
Add new functionality to "Change signature" refactoring
...
Extract single point of entry for all change signature refactorings and fixes (remove parameter, add parameter)
Change signature now affects overriding functions as well
Ask the user whether he wants to refactor base function(s) or the selected one if appropiate
Fix a problem with descriptorToDeclaration in JetChangeSignatureHandler
Rename: JetFunctionPlatformDescriptor -> JetMethodDescriptor
2013-11-12 14:15:46 +04:00
Natalia Ukhorskaya
3287744415
Add common JetElement for imports: JetImportList
2013-10-25 13:55:40 +04:00
Alexey Sedunov
28b3db53fe
Fix irregular PSI structure for classes without body
2013-10-15 18:43:59 +04:00
Alexey Sedunov
eff62bfd83
KT-4008 'Replace if with when' is available but does not work
2013-10-11 17:24:07 +04:00