Mikhail Glukhikh
b9d6580b44
Introduce MPP wizard for web (JVM / JS) applications
...
This implements first part of KT-25952
2018-08-17 18:16:34 +03:00
Mikhail Glukhikh
57153cc2fc
Make code in IntroduceIndexMatcher safer
...
EA-101119 Fixed
2018-08-17 18:16:10 +03:00
Mikhail Glukhikh
d67dea4619
Reformat & cleanup: CreateCallableFromCallActionFactory
2018-08-17 18:16:08 +03:00
Mikhail Glukhikh
9a9e703e80
Do not suggest "create abstract property" inside annotation
2018-08-17 18:16:07 +03:00
Mikhail Glukhikh
04675b4446
Do not suggest "create local variable" inside primary constructor
...
#KT-26158 Fixed
EA-99300 Fixed
2018-08-17 18:15:47 +03:00
Mikhail Glukhikh
34be9ccbbe
Reformat: CreateLocalVariableActionFactory
2018-08-17 18:15:44 +03:00
Vyacheslav Gerasimov
add323a486
as33: Remove incorrect gradle.xml.as33
2018-08-17 14:39:03 +03:00
Pavel V. Talanov
b59f134f78
Fix completing members for receivers shadowed by DslMarker
...
#KT-20396 Fixed
2018-08-16 13:59:38 +02:00
Sergey Rostov
f09364e654
Kotlin facet UI, JS: Hide "Enable incremental compilation (experimental)".
...
This option is project-wide only, so it should be visible only in project settings.
#KT-26095 Fixed.
2018-08-16 10:51:36 +03:00
Mikhail Glukhikh
1471fe08d7
Minor rename in if-then utils
2018-08-15 12:36:01 +03:00
Mikhail Glukhikh
5b77def0e0
"if-then to safe access": treat transformation to 'let' as intention
...
Related to KT-7675
2018-08-15 12:36:01 +03:00
Toshiaki Kameyama
f5cfec4a91
"if-then to safe access" inspection: support call expression -> let
...
#KT-7675 Fixed
2018-08-15 12:36:01 +03:00
Toshiaki Kameyama
2dcbf6aa34
Introduce "Redundant return label" inspection #KT-25270 Fixed
2018-08-15 12:36:01 +03:00
Toshiaki Kameyama
b91f30ab15
Suspicious callable reference: no quick fix with invalid reference type
...
#KT-23467 Fixed
2018-08-15 12:36:00 +03:00
Toshiaki Kameyama
08cfe1acfd
"Convert lambda to reference": fix false positive for vararg function
...
#KT-16422 Fixed
2018-08-14 15:48:37 +03:00
Toshiaki Kameyama
28aa0763a9
"Convert to run / with": don't suggest on java static method call
...
#KT-25739 Fixed
2018-08-14 15:40:46 +03:00
Toshiaki Kameyama
0a5aa2b60c
"Convert lambda to reference": fix case with extension 'this'
...
#KT-21999 Fixed
2018-08-14 15:39:26 +03:00
Toshiaki Kameyama
2bf3b435f2
Redundant semicolon: fix false positive between modifier and declaration
...
#KT-25579 Fixed
2018-08-14 15:32:26 +03:00
Toshiaki Kameyama
1898df3fb7
Introduce "Convert property getter to initializer" intention
...
#KT-13854 Fixed
2018-08-14 15:32:20 +03:00
Toshiaki Kameyama
6fbf6b0a93
"Let type implement interface": don't suggest same type #KT-25928 Fixed
2018-08-14 15:32:17 +03:00
Toshiaki Kameyama
2d2f1125a9
"Remove redundant let": fix destructuring declaration false positive
...
#KT-26042 Fixed
2018-08-14 15:32:10 +03:00
Toshiaki Kameyama
7e8521d9dc
Remove redundant let in "Safe access to if-then" #KT-13515 Fixed
2018-08-14 14:11:15 +03:00
kenji tomita
443b1834bc
Add "Replace assertBoolean() with assertEquals() inspection"
...
#KT-23445 Fixed
2018-08-14 14:11:14 +03:00
Vyacheslav Gerasimov
9a441b9c8d
Make DocumentAdapter.documentChanged overrides compatible with 183 platform
2018-08-14 12:48:26 +03:00
Mikhail Glukhikh
84c035c763
For each parameter not used: use same context scope everywhere
2018-08-13 19:03:38 +03:00
Mikhail Glukhikh
88ac04001d
For each parameter unused: minor optimization / simplification
...
Related to KT-22068
2018-08-13 19:03:02 +03:00
Mikhail Glukhikh
911f16845e
For each parameter unused: add quick-fix "introduce anonymous parameter"
...
Related to KT-22068
2018-08-13 19:03:01 +03:00
Mikhail Glukhikh
af17a4e961
For each parameter unused: do not report with explicit parameter
...
In this case we are duplicating compiler warning.
Related to KT-22068
2018-08-13 19:03:00 +03:00
Mikhail Glukhikh
6048647812
For each parameter unused: support correctly it() case
...
Related to KT-22068
2018-08-13 19:02:58 +03:00
Mikhail Glukhikh
0757533558
"ForEach parameter unused": minor simplification
...
Related to KT-22068
2018-08-13 19:02:57 +03:00
Dennis Cornwell
f3b0378918
"ForEach parameter unused": don't report destructured parameters
...
Related to KT-22068
2018-08-13 19:02:56 +03:00
Mikhail Glukhikh
c0c00c8c4e
Downgrade "forEach parameter unused" to WEAK WARNING
...
Related to KT-22068
2018-08-13 19:02:55 +03:00
Dennis Cornwell
e81eee4cc1
Introduce inspection for determining if a forEach parameter is unused
...
#KT-22068 Fixed
2018-08-13 19:02:53 +03:00
Mikhail Glukhikh
c3b2d1829f
Apply "call chain -> sequence" to idea module
2018-08-13 19:02:51 +03:00
Vyacheslav Gerasimov
0d2b888bdd
Make KotlinFormattingSettingsStatusAction compatible with 183 platform
2018-08-12 13:15:12 +03:00
Nikolay Krasko
9071b5cfa8
Enable reformat for the whole file for the reformat inspection
2018-08-10 18:45:32 +03:00
Nikolay Krasko
d16b6f9874
Internal action for showing Kotlin code style status (KT-23400)
...
Need this to monitor different IDE actions results. Commit can be
dropped after transition to new code style settings is finished.
2018-08-10 18:45:26 +03:00
Nikolay Krasko
a22f4232c0
Add information about obsolete code style usage (KT-23400)
2018-08-10 18:45:23 +03:00
Pavel V. Talanov
01f1917d2a
Run/test line markers: aggregate results across implementing modules
2018-08-10 17:00:03 +02:00
Nicolay Mitropolsky
31a5746724
183: implementation of JvmElementActionsFactory.createChangeParametersActions
2018-08-10 15:29:44 +03:00
Denis Zharkov
0eba48ae46
Adjust KotlinExpressionTypeProvider to new DataFlowInfo contracts
...
Now, trivial info is not being perstisted in the maps of DataFlowInfo
At the same time, we don't record trivial DataFlowInfo instances in binding context:
org.jetbrains.kotlin.resolve.bindingContextUtil.BindingContextUtilsKt#recordDataFlowInfo
Namely, it happens in case when expression is a callee expression of
"variable as function" calls (see
org.jetbrains.kotlin.idea.codeInsight.ExpressionTypeTestGenerated#testKt11601)
At the same time, there's a hack in `org.jetbrains.kotlin.resolve.calls.callUtil.CallUtilKt#getType`
that helps to obtain type itself for these callees from the resolved calls.
So, it will work anyway if we use `noTypeInfo` here, that is kind of
correct since there's no non-trivial info anyway
2018-08-10 15:40:50 +07:00
Leonid Startsev
c3f66cda65
Lowering extension point
2018-08-09 16:16:09 +03:00
Toshiaki Kameyama
f2fec6b078
Fix messages #KT-25177
2018-08-09 15:24:20 +03:00
Toshiaki Kameyama
605736b6ba
Introduce "redundant asDynamic" inspection #KT-25177 Fixed
2018-08-09 15:24:20 +03:00
Mikhail Glukhikh
87d81a75f3
Fix secondary constructor deletion in "sealed class -> object"
2018-08-09 13:33:03 +03:00
Mikhail Glukhikh
ed5791ed9e
Introduce "remove actual" fix for ACTUAL_WITHOUT_EXPECT
...
Related to KT-25044
2018-08-09 12:59:57 +03:00
Mikhail Glukhikh
a91442cd3b
Enable "add () fix" for expect base class without constructors
...
Related to KT-24597
2018-08-09 12:59:55 +03:00
Mikhail Glukhikh
79abf90916
Introduce "add default constructor for expect class" fix
...
Related to KT-24597
2018-08-09 12:59:54 +03:00
Alexey Sedunov
1b15ce3ddc
Move: Fix top-level declaration detection for scripts
...
#KT-25858 Fixed
2018-08-09 10:06:31 +03:00
Alexey Sedunov
1797a50fc9
Move: Fix "whole file" mode detection for scripts
...
#KT-25857 Fixed
2018-08-09 10:06:31 +03:00