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
Alexey Sedunov
73bdbbc697
Configuration: Do not show -Xfriend-paths in additional arguments
...
#KT-25945 Fixed
2018-08-09 10:06:31 +03:00
Alexey Sedunov
cd61633b5d
Configuration: Support external storage for imported facets
...
#KT-25913 Fixed
2018-08-09 10:06:30 +03:00
Alexey Sedunov
a8f8ecc012
Configuration: Invalidate caches when changing compiler options
...
#KT-25515 Fixed
2018-08-09 10:06:30 +03:00
Vyacheslav Gerasimov
37fadb8ee5
as33: Remove incorrect gradle.xml.as33
2018-08-08 16:26:15 +03:00
Mikhail Glukhikh
e6850bf007
Add "Call chain -> sequence" to 183 plugin
2018-08-08 11:02:58 +03:00
Mikhail Glukhikh
c7e46d4998
Downgrade "Call chain -> sequence" to INFO level
2018-08-08 11:02:56 +03:00
Toshiaki Kameyama
b638e91c2b
Call chain --> Sequence: minor improvements
...
Related to KT-15476
2018-08-08 11:02:55 +03:00
Toshiaki Kameyama
7e28cb1fe3
Call chain --> Sequence: take termination into account
...
Related to KT-15476
2018-08-08 11:02:47 +03:00
Toshiaki Kameyama
108dea5b46
Introduce "Call chain on collection should be converted into 'Sequence'"
...
So #KT-15476 Fixed
2018-08-08 10:29:10 +03:00
Alexey Sedunov
632dd05116
Misc: Fix compilation after rebase
2018-08-07 18:35:08 +03:00
Alexey Sedunov
ecf607d4fa
Gradle: Implement new MPP model import
2018-08-07 15:59:41 +03:00
Nikolay Krasko
21a7561271
Fix small gap for install message
2018-08-07 14:08:09 +03:00
Nikolay Krasko
cb925375ed
Not enough padding/white space for current version in update form (KT-25562)
...
#KT-25562 Fixed
2018-08-07 14:07:03 +03:00
Mikhail Glukhikh
09766ae2ae
Reformat: AddNameToArgumentFix
2018-08-07 11:30:31 +03:00
Mikhail Glukhikh
06d339639f
Fix "Add name to argument" (disable reformatting in quick-fix text)
...
Four relevant quick-fix tests should be fixed after it
2018-08-07 11:30:31 +03:00
Mikhail Glukhikh
28484f31e7
Fix "Remove @ from annotation argument" (make consistent PSI)
...
Three relevant quick-fix tests should be fixed after it
2018-08-07 11:30:31 +03:00
Alexey Sedunov
ed5709afdb
Misc: Fix compatibility issues with AS3.3C4
2018-08-06 21:39:17 +03:00
Mikhail Glukhikh
21be8d118d
Fix "ReplaceInfixOrOperatorCallFix" (make consistent PSI)
...
One relevant quick-fix test should be fixed after it
2018-08-06 19:04:11 +03:00
Vyacheslav Gerasimov
6db2037440
Make JavaToKotlinAction.convertFiles compatible with AS 3.3
2018-08-06 18:39:00 +03:00
Mikhail Zarechenskiy
659289b41a
Report diagnostics about experimentality on unsigned literals
...
#KT-25580 Fixed
2018-08-06 17:45:22 +03:00
Vyacheslav Gerasimov
0cf6b26494
as32: Set since-build to 181.5281 (AS 3.2 Beta 5)
2018-08-06 11:15:50 +03:00
Vyacheslav Gerasimov
e4bf20a267
183: Set since-build to 183.1
2018-08-03 21:29:19 +03:00
Vyacheslav Gerasimov
c7a00971fe
Fix source compatibility with 183 platform
2018-08-03 21:29:18 +03:00
Nikolay Krasko
759ffafb0a
Render flexible types with enhancement as enhanced in IDE (KT-25622)
...
Main targets for the fix is completion, parameters info, inlay hints and
override/implement.
Other IDE functions might be affected.
#KT-24911 Fixed
#KT-25616 Fixed
#KT-25622 Fixed
2018-08-03 16:00:09 +03:00
Natalia Selezneva
c802428326
Do not check script definitions in parser
2018-08-03 15:25:35 +03:00
Toshiaki Kameyama
1ac6f18a47
"Convert put to assignment": Fix false positive inside elvis expression
...
So #KT-22072 Fixed
2018-08-03 13:21:50 +03:00
Toshiaki Kameyama
1b1e503716
Add quick-fix for default parameter value removal #KT-25146 Fixed
2018-08-03 13:17:49 +03:00