Valentin Kipyatkov
366204da85
Constructor usages are replaced too
2015-09-03 15:55:59 +03:00
Valentin Kipyatkov
de13e23a0a
Initial support for class usages replacement with ReplaceWith
2015-09-03 15:55:59 +03:00
Valentin Kipyatkov
8dbe87a918
Moved classes
2015-09-03 15:55:58 +03:00
Valentin Kipyatkov
37ed77467f
Fixed ReplaceWith quickfix not working when synthetic extensions are used in the pattern
2015-09-03 15:55:57 +03:00
Valentin Kipyatkov
16650e8f5c
Conflicting extension is recognized as redundant for setter with expression body
2015-09-03 15:55:57 +03:00
Valentin Kipyatkov
086d29a44a
Added second quickfix on conflicting extension to mark it hidden and deprecated
2015-09-03 15:55:56 +03:00
Valentin Kipyatkov
10f7d6d7dd
Inspection (and quickfix) for extension propeties conflicting with synthetic ones
2015-09-03 15:55:54 +03:00
Denis Zharkov
c59b118b09
Implement quckfix adding explicit upper bounds for generic when needed
2015-09-02 12:04:08 +03:00
Denis Zharkov
c17451cf5c
Add quickfix for JAVA_TYPE_MISMATCH
2015-09-02 12:03:52 +03:00
Valentin Kipyatkov
937f243046
DeprecatedSymbolUsageInWholeProjectFix removes imports too
2015-08-31 15:48:25 +03:00
Valentin Kipyatkov
628ce4ea32
Better sorting of variants in add import popup
2015-08-25 18:56:17 +03:00
Valentin Kipyatkov
9837d383a9
Completion and add import popup to use same sorter
...
#KT-8842 In progress
2015-08-25 18:56:16 +03:00
Alexey Sedunov
d48851ba63
Create From Usage: Fix ClassCastException on local property with delegate
...
#EA-69707 Fixed
2015-08-19 23:30:10 +03:00
Alexey Sedunov
85f85e85b4
Create From Usage: Quote declaration name if it's not a valid identifier
...
#EA-70291 Fixed
2015-08-19 23:30:07 +03:00
Alexey Sedunov
d18a9f6d8a
Create From Usage: Fix StackOverflowException on recursive type parameter bounds
...
#EA-69240 Fixed
2015-08-19 23:29:55 +03:00
Stanislav Erokhin
2ee8f1c454
Change outer scope for nested class and object -- removed implicit outer class receiver.
...
#KT-5362 Fixed
#KT-8814 Fixed
2015-08-18 21:26:42 +03:00
Mikhail Glukhikh
3f14e74b08
Drop old enum syntax. Comma / semicolon are now a syntactic part of enum entry.
...
Comma must present now between enum entries, semicolon between last entry & first member, constructor calls must be without colons / specifiers.
A swarm of tests fixed accordingly.
2015-08-11 10:38:10 +03:00
Mikhail Glukhikh
076ac4f5ee
Create class from usage fix: enum entries are created with new constructor syntax
2015-08-10 16:24:01 +03:00
Mikhail Glukhikh
fe716d7e56
Change signature fix: correct parameter add / remove from enum constructor calls, relevant test fixes
2015-08-10 16:23:57 +03:00
Valentin Kipyatkov
196cecfe70
Fixed exception
2015-07-30 18:02:54 +03:00
Valentin Kipyatkov
1324ce5928
Added quickfix on unused import
2015-07-22 21:16:11 +03:00
Mikhail Glukhikh
0d2a81f098
Annotation target checking in front-end, a set of tests for different annotation targets, existing test fixes
...
No checks for erroneous annotations. Additional checks for identifiers.
2015-07-14 16:25:04 +03:00
Denis Zharkov
f0833d626a
Fix intentions tests after types enhancement
...
Types became more accurate
2015-07-09 16:36:44 +03:00
Evgeny Gerashchenko
5c56bc455e
Supported excluded packages/classes in auto-import quick fix.
...
#KT-2413 in progress
2015-07-08 14:28:37 +03:00
Alexey Sedunov
5319e9e761
Change Signature: Support configurable Change Signature for Java code
...
#KT-5923 Fixed
2015-07-03 18:38:06 +03:00
Alexey Sedunov
9e82411e78
Change Signature: Do not process calls with unmatched arguments/parameters
2015-07-03 18:38:05 +03:00
Valentin Kipyatkov
eadeb6e63f
DirectiveBasedActionUtils: don't allow to specify ACTION directives that won't be checked anyway
2015-06-30 13:41:41 +03:00
Valentin Kipyatkov
db144a6121
Suggestions from expression itself to have higher priority + fixed incorect upper case naming
2015-06-29 19:36:49 +03:00
Valentin Kipyatkov
498e746689
KT-8169 Strange exception when replacing function call to its only argument
...
#KT-8169 Fixed
2015-06-29 19:29:26 +03:00
Valentin Kipyatkov
463b0cda79
Fixed test data
2015-06-29 19:29:26 +03:00
Valentin Kipyatkov
2bd1362be6
Create function/property from usage: added "member" when appropriate + changed order
2015-06-29 19:29:25 +03:00
Denis Zharkov
ad99b079b9
Update intention tests: don't use java.util.Collections.*
...
Because their behaviour depends on annotations that we are going to drop
2015-06-23 16:44:46 +03:00
Ilya Gorbunov
f2788d53c0
Refactor: rename PropertyMetadata parameter from 'desc' to 'property'.
...
Correct test data after parameter has been renamed.
2015-06-19 23:08:08 +03:00
Denis Zharkov
e3c3af6aab
Change MISSING_CONSTRUCTOR_KEYWORD severity to error
...
And adjust testData
2015-06-12 11:23:13 +03:00
Denis Zharkov
980499e331
Drop javaClass in annotations related things from inspections/quickfixes
2015-06-12 09:55:09 +03:00
Denis Zharkov
26864a4407
Get rid of annotation syntax deprecation related things
2015-06-12 09:23:32 +03:00
Denis Zharkov
c9f79c2d05
Adjust testData: get rid of obsolete annotations
2015-06-12 09:23:31 +03:00
Valentin Kipyatkov
366a2be8a7
KT-7989 ReplaceWith replacement adds redundant type arguments for platform types
...
Highlighting of redundant type arguments made more strict about platform types
#KT-7989 Fixed
2015-06-11 23:30:22 +03:00
Pavel V. Talanov
07d35d305e
Create import list psi element even if no directives are present
...
Fix a problem where deleting last import directive via "optimize imports" could lead to incorrect psi structure resulting in CCE, see EA-64291
New imports are inserted at the head (after package directive if present) of the file (before any comments) if no imports were present
Add test for inserting import to file where a first statement is a comment
Drop code dealing with non-existing import list in ImportInsertHelperImpl
AbstractQuickFixTest: check for unexpected actions before changes to the file are made as it relies on the first line having specific format
2015-06-08 20:51:04 +03:00
Valentin Kipyatkov
6751a1d440
DeprecatedSymbolUsageFix: keeping explicit type arguments in original form
2015-06-04 16:20:30 +03:00
Valentin Kipyatkov
a26c62ab0f
KT-7895 Auto replace for deprecated (ReplaceWith) loses generic type
...
#KT-7895 Fixed
2015-06-04 16:20:29 +03:00
Valentin Kipyatkov
e60c3f5ee7
DeprecatedSymbolUsageFix: fixed for string template
2015-06-02 14:36:06 +03:00
Valentin Kipyatkov
134621ce77
DeprecatedSymbolUsageFix: fixed for incorrect annotation arguments
2015-06-02 14:36:05 +03:00
Valentin Kipyatkov
aefe0dd192
Changed highlighting range and attributes of useless elvis operator
2015-06-02 14:35:19 +03:00
Denis Zharkov
11290ae9e7
Fix wrong assumptions in quickfix
...
Diagnostic is always reported on overriden property
#EA-64407 Fixed
2015-06-02 14:07:49 +03:00
Valentin Kipyatkov
034b74d3e5
Rewritten ChangeVariableMutabilityFix
...
#KT-7877 Fixed
2015-06-01 18:23:34 +03:00
Valentin Kipyatkov
859128744e
Fixed DeprecatedSymbolUsageInWholeProjectFix
2015-05-29 15:06:14 +03:00
Valentin Kipyatkov
09028390fd
Corrected test data
2015-05-28 21:35:05 +03:00
Valentin Kipyatkov
08cf8065ea
DeprecatedSymbolUsageFix to keep line breaks when possible
2015-05-28 16:14:15 +03:00
Valentin Kipyatkov
d415b0c74d
Fixed critical bug in DeprecatedSymbolUsageFix
2015-05-28 13:45:07 +03:00