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
Denis Zharkov
53e9234ea9
Add quickfix for replacing positioned arguments in Java annotation
2015-05-27 17:41:27 +03:00
Valentin Kipyatkov
697516cfdd
DeprecatedSymbolUsageFix: fixed for java declaration + one more test
2015-05-27 16:15:55 +03:00
Valentin Kipyatkov
d5d1158e44
Comment saver is more clever about comma's
2015-05-27 16:15:55 +03:00
Valentin Kipyatkov
d3403dee1a
DeprecatedSymbolUsageFix preserves comments
2015-05-27 16:15:54 +03:00
Valentin Kipyatkov
0d8d030763
"Add constructor parameters" fix - fixed display of too long signatures
2015-05-27 16:15:51 +03:00
Valentin Kipyatkov
04bee4dd7d
Fixing issues after code review
2015-05-27 16:15:51 +03:00
Valentin Kipyatkov
5df840d9e3
Getting default value from overriding method
2015-05-27 16:15:50 +03:00
Valentin Kipyatkov
e767cdef83
DeprecatedSymbolUsageFix: fixed nested calls with implicit receivers in the pattern
2015-05-27 16:15:49 +03:00
Valentin Kipyatkov
a9e00a3264
DeprecatedSymbolUsageFix: can drop more arguments when function literal argument exist
2015-05-27 16:15:49 +03:00
Valentin Kipyatkov
2e2701aa61
DeprecatedSymbolUsageFix: keeping named arguments
2015-05-27 16:15:49 +03:00
Valentin Kipyatkov
161630a449
DeprecatedSymbolUsageFix: keeping functional literal arguments out of parenthesis
2015-05-27 16:15:48 +03:00
Valentin Kipyatkov
be9a3d10f6
DeprecatedSymbolUsageFix: fixed bug with symbols from root package not imported
2015-05-27 16:15:48 +03:00
Valentin Kipyatkov
97d3620262
DeprecatedSymbolUsageFix: dealing with vararg's
2015-05-27 16:15:48 +03:00
Valentin Kipyatkov
f8a4d9bf0b
Moved test data into subfolders
2015-05-27 16:15:48 +03:00
Valentin Kipyatkov
f58ce760ca
DeprecatedSymbolUsageFix: support for optional parameters (not complete)
2015-05-27 16:15:47 +03:00
Valentin Kipyatkov
766ca2b905
Deprecated symbol usages fix for the whole project
2015-05-27 16:15:47 +03:00
Valentin Kipyatkov
5c445ca003
DeprecatedSymbolUsageFix: dealing with dropping arguments with potential side effects + stdlib's "let" has no receiver type bound
2015-05-27 16:15:47 +03:00
Valentin Kipyatkov
08cfca56f8
DeprecatedSymbolUsageFix - dealing with infix and operator calls
2015-05-27 16:15:47 +03:00
Valentin Kipyatkov
2a5ca095ee
DeprecatedSymbolUsageFix - correct dealing with implicit receivers + fixed KT-7776 in completion
...
#KT-7776 Fixed
2015-05-27 16:15:46 +03:00
Valentin Kipyatkov
5da192ddd4
DeprecatedSymbolUsageFix - fixed bug with usage in derived class
2015-05-27 16:15:46 +03:00
Valentin Kipyatkov
a773542d47
DeprecatedSymbolUsageFix - handling of complex expressions used twice
2015-05-27 16:15:46 +03:00
Valentin Kipyatkov
348d09866a
DeprecatedSymbolUsageFix: more correct generation of "let" for safe call
2015-05-27 16:15:45 +03:00
Valentin Kipyatkov
df850d7035
DeprecatedSymbolUsageFix: initial implementation
2015-05-27 16:15:45 +03:00
Valentin Kipyatkov
0a886320ca
JetWholeProjectForEachElementOfTypeFix - not too much duplicating string arguments
2015-05-27 16:15:45 +03:00
Valentin Kipyatkov
0dc92c3ee8
QuickFixMultiFileTestGenerated - shorter test data files names
2015-05-27 16:15:44 +03:00
Denis Zharkov
cab2328b64
Do not insert type parameters when replacing javaClass with T::class
...
Type parameters are invalid for class literal unless class is `Array`
2015-05-27 08:24:57 +03:00
Ilya Gorbunov
fb342de451
Ensure stable order is used when rendering list of resolved calls by sorting them with MemberComparator.
2015-05-21 19:07:19 +03:00
Denis Zharkov
87be626848
Add quickfix for deprecated labels syntax
2015-05-20 09:24:57 +03:00
Denis Zharkov
5b1f3080d3
Add quickfix removing names of function expressions
2015-05-20 09:24:57 +03:00
Denis Zharkov
b650753643
Change formatting of function expressions without names
...
No spaces between 'fun' and value parameter list
2015-05-20 09:24:56 +03:00
Denis Zharkov
89337ff51e
Change deprecation rules for annotations in brackets
...
Also adjust quickfix for deprecated syntax
2015-05-20 09:24:56 +03:00
Denis Zharkov
a9c1c3edb6
Add quickfix for missing 'constructor' inside primary ctor
2015-05-20 09:24:55 +03:00
Mikhail Glukhikh
3585c45f70
Fixed a quick fix for enum entry delimiters: situation with following comments. Three new tests. isAvailable().
2015-05-19 11:22:57 +03:00
Mikhail Glukhikh
6342b98592
Fixed a quick fix for enum entry short super constructor syntax (situation with a preceding comment / annotation). Four extra tests. isAvailable().
2015-05-19 11:22:34 +03:00
Valentin Kipyatkov
e4cf12f93e
Corrected test data to not use obsolete syntax
2015-05-16 17:15:15 +03:00
Valentin Kipyatkov
60b0236101
Corrected parser: incomplete code should never cause brace disbalance
...
Fixed KT-7539 fq name inserted when completing nested traits name
#KT-7539
2015-05-16 17:15:12 +03:00
Dmitry Jemerov
dc9523016a
report 'trait' keyword as deprecated, provide quickfix for replacing with 'interface'
2015-05-15 18:20:39 +02:00
Mikhail Glukhikh
983339e1c9
Detection of semicolon between enum entries together with the correct delimiter quick fix for this case.
...
Error message reported directly on semicolon.
2015-05-15 16:13:41 +03:00
Mikhail Glukhikh
edd269f5ff
Quick fix for enum entry delimiter syntax fix, together with a set of tests.
...
Possible NPE in getNextSiblingIgnoringWhitespace fixed. Some warnings also removed.
Last comma is replaced by semicolon. Comments are taken into account.
2015-05-15 16:13:39 +03:00