Valentin Kipyatkov
4f9866f62f
Created quickfix for KT-9805
2015-11-11 01:26:20 +03:00
Alexey Sedunov
6ff955b66c
Change Signature: Implement improved call processing algorithm
...
#KT-8953 Fixed
#KT-9525 Fixed
2015-11-10 16:47:48 +03:00
Nikolay Krasko
f518f5fb9f
Extension operator function should be automatically imported for java function with the same name (KT-9406)
...
There's no need to import extension for Java operators anymore. Import for Kotlin functions.
#KT-9406 Fixed
2015-11-04 02:31:12 +03:00
Anton Sukhonosenko
141ffa27dc
val / var are now forbidden on a loop multi declaration parameter #KT-6274 Fixed
...
VAL_OR_VAR_ON_LOOP_MULTI_PARAMETER error added
KtValVarKeywordOwner interface added for PSIs that have getValOrVarKeyword method
2015-11-03 15:30:50 +03:00
Nikolay Krasko
cde6388e26
getValue and setValue are now operators
2015-11-02 18:23:42 +03:00
Valentin Kipyatkov
3c1538997e
Fixed "Make class open" in case of primary constructor
...
#KT-9767 Fixed
2015-10-30 17:25:36 +03:00
Valentin Kipyatkov
fc924d1c9f
Not operator
2015-10-30 17:25:35 +03:00
Nikolay Krasko
41cbc12d7f
Don't propose to make objects abstract (KT-9795)
...
#KT-9795 Fixed
2015-10-29 14:37:15 +03:00
Nikolay Krasko
0fcb51f0a2
KT-1478 Quick fix for using nullable collection in "for in" expression
...
#KT-1478 Fixed
2015-10-28 13:39:49 +03:00
Nikolay Krasko
911432c99c
Use default render to check are all errors mentioned in tests. It's far more easier to read.
2015-10-28 13:39:46 +03:00
Nikolay Krasko
b8c72ec4e9
Suggest to add !! as a quick-fix for type mistmach
2015-10-28 13:39:44 +03:00
Nikolay Krasko
3c07bc3df7
Import all components and delegates accessors if possible
2015-10-23 22:07:52 +03:00
Svetlana Isakova
7150be7c67
Minor: fixed error message
2015-10-22 19:09:46 +03:00
Mikhail Glukhikh
d6988ad69e
Get rid of FIELD_IDENTIFIER at syntax level, two errors dropped, a set of tests fixed / deleted #KT-9539 Fixed
2015-10-21 16:36:55 +03:00
Nikolay Krasko
eb2feeeb16
Fixes after review in imports for additional expressions
2015-10-21 14:06:05 +03:00
Nikolay Krasko
2f26480e6b
Auto-imports for index functions, += like operators, invoke, delegates and components
...
#KT-9482 Fixed
#KT-9397 Fixed
#KT-8060 Fixed
2015-10-21 14:06:04 +03:00
Alexey Sedunov
3d88df73e0
Minor: Fix spelling of intention text
...
#KT-9639 Fixed
2015-10-20 18:39:48 +03:00
Alexey Sedunov
929d06c86f
Create from Usage: Implement 'Create property as constructor parameter' quick-fix
...
#KT-8426 Fixed
2015-10-20 18:39:47 +03:00
Alexey Sedunov
84aa4e7664
Create from Usage: Fix rendering of receiver type reference
...
#KT-9559 Fixed
2015-10-20 18:39:40 +03:00
Valentin Kipyatkov
28c950ffbe
Better replacement for annotations with parameters in ReplaceWIth pattern but still lot of safety pre-checks to be added
2015-10-19 19:22:26 +03:00
Valentin Kipyatkov
4290601807
VERY rough implementation of annotations with parameters in ReplaceWIth pattern
2015-10-19 19:22:26 +03:00
Valentin Kipyatkov
a8d9c761c8
Correct detection of non-qualified references in ReplaceWith analyzer
2015-10-19 18:40:15 +03:00
Valentin Kipyatkov
0a5255ee4e
Dropped inspection for functions matching operator convention - only intention left
2015-10-19 18:36:06 +03:00
Pavel V. Talanov
bb77890a4e
Drop DeprecatedFacadeUsageInspection
...
(cherry picked from commit f18b95d)
2015-10-19 16:03:17 +03:00
Mikhail Glukhikh
a4af6a3076
data deprecations (empty constructors, non val/var arguments, vararg, superclasses) are now errors, relevant tests fixed
2015-10-19 15:24:28 +03:00
Nikolay Krasko
9ef8370871
Allow to create quickfix multifile tests in single file
...
It simplifies creating new tests
2015-10-19 11:30:47 +03:00
Valentin Kipyatkov
963a8992b1
Fixed availability of "Make abstract" and "Implement members" quickfixes
2015-10-19 09:43:13 +03:00
Valentin Kipyatkov
563ad4bab2
Added test
2015-10-19 09:43:12 +03:00
Valentin Kipyatkov
5ce0ed37b1
Moved file to another package
2015-10-19 09:43:12 +03:00
Valentin Kipyatkov
d1de2f65c9
Rewritten AddOperatorModifierInspection to be based on an intention (shouldn't we drop the inspection at all?)
2015-10-19 09:43:12 +03:00
Zalim Bashorov
de5dc61820
Make NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION error
2015-10-18 22:49:08 +03:00
Denis Zharkov
d8ede6d03e
Transform Enum.values to property
2015-10-17 17:46:16 +03:00
Yan Zhulanow
3bb1b1adfd
Put property delegates -related warnings on 'by'
2015-10-16 22:20:06 +03:00
Yan Zhulanow
9ae3b0fa9c
Drop loading Java annotation methods as functions
2015-10-16 22:13:34 +03:00
Valentin Kipyatkov
f311d9febf
Refactored change signature fixes to not hold DeclarationDescriptor's
2015-10-16 19:06:31 +03:00
Valentin Kipyatkov
090ea37a32
Fixed test data to use only annotation syntax with @
2015-10-15 19:20:08 +03:00
Alexander Udalov
556a169a5d
Update stdlib usages of PropertyMetadata to KProperty<*>
2015-10-15 00:05:31 +03:00
Alexander Udalov
a6846b3967
Insert KProperty<*> when creating property delegate methods in IDE
2015-10-14 20:45:26 +03:00
Mikhail Glukhikh
f8a356747e
Stdlib rename: 'name' and 'ordinal' are now properties in Enum, same name functions are deprecated
2015-10-14 20:40:13 +03:00
Denis Zharkov
f0e3fd617d
Adjust testData to CharSequence.length transformation
2015-10-14 20:39:35 +03:00
Yan Zhulanow
528482f625
Deprecated conventions (get -> getValue, plus -> unaryPlus) quickfix
2015-10-14 19:10:36 +03:00
Yan Zhulanow
f9e89596fd
Add 'operator' modifier to stdlib property Delegate functions
2015-10-14 19:10:36 +03:00
Michael Nedzelsky
7f0fbb4577
fix tests for quoted names
2015-10-14 16:57:00 +03:00
Pavel V. Talanov
d603142cc6
Provide inspection and quickfixes for usages of static fields which will be no longer accessible in future versions
...
For this inspection three kinds of fixes are potentially available:
- Add 'const' modifier to kotlin property
- Add '@JvmField' annotation to kotlin property
- Change field reference to getter invocation
In case user chooses to 'cleanup code', these fixes are prioritized in this order
2015-10-14 14:42:26 +03:00
Pavel V. Talanov
47cca7db1f
Test data: adjust test data after prohibiting properties with typeparameters not used in receiver
2015-10-14 13:42:13 +03:00
Yan Zhulanow
bc3d1ddda0
Remove old 'get' delegate convention in interfaces
2015-10-14 01:29:09 +03:00
Andrey Breslav
4f63d47f82
Intention action for hiddnen declarations fixed
2015-10-13 01:45:02 +03:00
Valentin Kipyatkov
cbf4e4a973
Corrected order of modifier insertion
2015-10-12 15:10:39 +03:00
Valentin Kipyatkov
55cbe185f8
Do not offer to convert to infix call when calling non-infix function
2015-10-12 15:10:39 +03:00
Valentin Kipyatkov
ee7425c1de
Checking "infix" modifier in completion and import popup
2015-10-12 15:10:39 +03:00