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
Mikhail Glukhikh
da3d083dc0
Quick fix for enum entry super constructor syntax fix, together with a set of tests
2015-05-15 16:13:36 +03:00
Sergey Mashkov
a11e0a84b5
JS tests for addClass, removeClass, removeFromParent
2015-05-14 09:16:56 +03:00
Valentin Kipyatkov
1ad5ea4f7e
Corrected test data
2015-05-14 01:10:13 +03:00
Valentin Kipyatkov
67a5e8a69d
Fixed bug in DeprecatedLambdaSyntaxFix
2015-05-14 01:09:52 +03:00
Valentin Kipyatkov
21eb2acd31
Shorter quickfix names
2015-05-14 01:09:47 +03:00
Valentin Kipyatkov
e31f0ed829
Add constructor parameters quickfix reuses existing parameters
2015-05-14 01:09:46 +03:00
Valentin Kipyatkov
0952e9a63a
Add constructor parameters quickfix works for multiple constructors
2015-05-14 01:09:46 +03:00
Valentin Kipyatkov
4ac2e29d28
Fixed error type case
2015-05-14 01:09:45 +03:00
Valentin Kipyatkov
c6ebc50e6c
Renaming test data files
2015-05-14 01:09:45 +03:00
Valentin Kipyatkov
381049d13e
Fix for non-accessible constructor case
2015-05-14 01:09:44 +03:00
Valentin Kipyatkov
a5dabac296
Refactored "Change to constructor invocation" and new "Add constructor parameters and use them" quickfixes into one factory, making the first one always available
2015-05-14 01:09:44 +03:00