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
Denis Zharkov
70dbbd8fda
Resolve constructors declared in traits and objects
...
It prevents exceptions and produces less red code
#EA-68667 Fixed
2015-06-02 14:07:49 +03:00
Evgeny Gerashchenko
36915bf846
Enabled incremental compilation by default.
2015-06-01 19:02:12 +03:00
Valentin Kipyatkov
8fd6a64be9
Refactored methods for val/var in PSI
2015-06-01 18:23:34 +03:00
Valentin Kipyatkov
034b74d3e5
Rewritten ChangeVariableMutabilityFix
...
#KT-7877 Fixed
2015-06-01 18:23:34 +03:00
Pavel V. Talanov
d531641459
Fix ReplaceWithOperatorAssignmentIntention in some cases
...
#KT-7831 Fixed
2015-06-01 15:52:52 +03:00
Natalia Ukhorskaya
31db945110
Fix navigation to file from "breakpoint reached at" info
2015-06-01 14:00:56 +03:00
Valentin Kipyatkov
859128744e
Fixed DeprecatedSymbolUsageInWholeProjectFix
2015-05-29 15:06:14 +03:00
Alexander Udalov
bf09906f35
Fix ISE when caret is on parameter of function type
...
EA-68570
2015-05-28 22:09:33 +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
5e5e71882e
Code cleanup to work more reliably with nested problems
2015-05-28 13:45:24 +03:00
Valentin Kipyatkov
2b61bca6dd
Code cleanup includes deprecated symbol usage fixes + code cleanup does not crash on nested usages to fix
2015-05-28 13:45:24 +03:00
Valentin Kipyatkov
d415b0c74d
Fixed critical bug in DeprecatedSymbolUsageFix
2015-05-28 13:45:07 +03:00
Alexander Udalov
d14e5b8a72
Restore and deprecate Function{n}/ExtensionFunction{n} classes for easier migration
...
Users' Java code will not break in common cases (when passing functions to
Kotlin), and deprecation warnings will be reported.
Provide an inspection with a quick fix which allows to replace deprecated
function class usages to the new classes. Include this fix to the "code
cleanup" action
2015-05-28 01:20:05 +03:00
Ilya Gorbunov
851007cc6c
Fix output of test that relied on the documentation wording.
2015-05-28 00:36:00 +03:00
Valentin Kipyatkov
002312f98a
Import of KClass inserted when needed on conversion to Kotlin on paste
2015-05-28 00:17:04 +03:00
Valentin Kipyatkov
f687a40136
Conversion to Kotlin on paste: supported for annotation
2015-05-28 00:17:04 +03:00
Alexey Sedunov
9e69b74a15
Extract Function: Extract smart-cast value as parameter
...
#KT-7576 Fixed
2015-05-27 18:41:42 +03:00
Denis Zharkov
53e9234ea9
Add quickfix for replacing positioned arguments in Java annotation
2015-05-27 17:41:27 +03:00
Valentin Kipyatkov
18ddac0249
Corrected formatting in test data
2015-05-27 16:15:55 +03:00
Valentin Kipyatkov
b6eda35345
TODOs
2015-05-27 16:15:55 +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
fefa12b0a9
ConvertForEachToForLoopIntention preserves comments
2015-05-27 16:15:54 +03:00
Valentin Kipyatkov
5d0b42ee71
ConvertToForEachFunctionCallIntention preserves comments outside of body too
2015-05-27 16:15:54 +03:00
Valentin Kipyatkov
8b44c93667
JetPsiFactory.createByPattern supports PsiChildRange as argument, used it in ConvertToForEachFunctionCallIntention
2015-05-27 16:15:54 +03:00
Valentin Kipyatkov
df0d27b8b2
Split if intention preserves comments
2015-05-27 16:15:53 +03:00
Valentin Kipyatkov
4a2f2b62ec
Fixed KT-7755 Convert to expression body kills comment
...
#KT-7755
2015-05-27 16:15:53 +03:00
Valentin Kipyatkov
333445d93e
Fixed Convert to foreach intention loosing comments
2015-05-27 16:15:52 +03:00
Valentin Kipyatkov
4c88b31878
KT-7525 Don't suggest to replace 'get' call with index operator for static method calls (inspection & intention)
...
KT-5322 super.get issues a "Replace 'get' call with index operator" inspection
#KT-7525 Fixed
#KT-5322 Fixed
2015-05-27 16:15:52 +03:00
Valentin Kipyatkov
0fe334fd55
KT-7702 Split into 2 if's intention: produce better result for return
...
#KT-7702 Fixed
2015-05-27 16:15:52 +03:00
Valentin Kipyatkov
8f797e8e69
"Split if" intention - renamed tests
2015-05-27 16:15:51 +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
17f0ac9ba7
Don't use plain text generation
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
ec5256a0f0
DeprecatedCallableAddReplaceWithIntention
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
6b66e3b0e6
JetPsiFactory: refactored method for creating argument + introduced ability to create arbitrary constructs by pattern
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