Toshiaki Kameyama
ba5e643cb2
Redundant qualifier name: fix false positive with same name variable
...
#KT-39200 Fixed
2020-06-19 12:08:36 +07:00
Dmitriy Dolovov
d9e5407ecb
IDE perf tests for K/N: Switch to 1.4-M2
2020-06-17 12:03:27 +07:00
Nikolay Krasko
9cac2e1945
Minor: fix splitting the line
2020-06-15 23:22:20 +03:00
Dmitry Gridin
01707800c1
KotlinLikeLangLineIndentProvider: improve indent for braces
...
Part of #KT-22211
Part of #KT-39353
2020-06-15 16:25:58 +07:00
Dmitry Gridin
9d6ea3c073
KotlinLikeLangLineIndentProvider: fix options for parentheses
...
Part of #KT-22211
Part of #KT-39353
2020-06-15 16:25:57 +07:00
Dmitry Gridin
306abc79ed
LineIndentProvider: support empty brackets
...
Part of #KT-22211
Part of #KT-39353
2020-06-15 16:25:57 +07:00
Dmitry Gridin
da5b2cfb64
LineIndentProvider: support inside block body between { and first statement/expression
...
Part of #KT-22211
2020-06-15 16:25:57 +07:00
Dmitry Gridin
63a0b5bfde
KotlinLikeLangLineIndentProvider: support braces in blocks
...
Part of #KT-22211
Part of #KT-39353
2020-06-15 16:25:57 +07:00
Dmitry Gridin
447549f20d
LineIndentProvider: support declarations with body expression
...
Part of #KT-22211
2020-06-15 16:25:56 +07:00
Dmitry Gridin
145b2c260b
indentationOnNewLine: sort tests
...
Part of #KT-22211
2020-06-15 16:25:56 +07:00
Dmitry Gridin
f833b4fe63
LineIndentProvider: support elvis operator
...
Part of #KT-22211
2020-06-15 16:25:55 +07:00
Dmitry Gridin
cf655a829c
KotlinLikeLangLineIndentProvider: support options for parentheses
...
Part of #KT-22211
Part of #KT-39353
2020-06-15 16:25:55 +07:00
Dmitry Gridin
7c99a6fef4
LineIndentProvider: support catch and finally
...
Part of #KT-22211
2020-06-15 16:25:54 +07:00
Dmitry Gridin
acc15e5fad
LineIndentProvider: fix for do-while
...
Part of #KT-22211
2020-06-15 16:25:54 +07:00
Dmitry Gridin
7a58a59114
Implement EnterBetweenBracesAndBracketsNoCommitDelegate
...
Part of #KT-22211
Part of #KT-39353
2020-06-15 16:25:54 +07:00
Dmitry Gridin
e72fb755a0
LineIndentProvider: support control flow constructions
...
Part of #KT-22211
2020-06-15 16:25:54 +07:00
Dmitry Gridin
29ceb25f5c
LineIndentProvider: support string templates
...
Part of #KT-22211
Relates to #KT-38248
Relates to #KT-35244
2020-06-15 16:25:17 +07:00
Dmitry Gridin
3a6b9c8d08
init line-indent-provider module
...
Part of #KT-22211
2020-06-15 16:25:16 +07:00
Dmitry Gridin
9d98240272
Create KotlinLineIndentProvider and delegate it to formatter
...
#KT-22211
2020-06-15 16:24:31 +07:00
Nikita Bobko
b43ff7fbf9
Don't show KDoc references in Call Hierarchy
...
^KT-39558 Fixed
2020-06-13 17:52:17 +03:00
Alexey Kudravtsev
a79efd0768
filter out references in javadoc to fix IDEA-185139 A method's call hierarchy shows also references
2020-06-13 17:52:16 +03:00
Konstantin Tskhovrebov
032d017c4f
Revert "Add tests for setup native run gutters."
...
This reverts commit d61e40e4
2020-06-11 17:28:14 +03:00
Toshiaki Kameyama
4d2caa8e76
KT-33211 Quickfix "add parameter" for method references should infer functional type instead of KFunction ( #2664 )
...
* "Add parameter to function" quick fix: add function type instead of KFunction for method references
#KT-33211 Fixed
* Support suspend function references
2020-06-11 17:01:07 +03:00
Toshiaki Kameyama
46907f861a
Extend Selection: don't select lambda parameters if lambda is multiple lines ( #2586 )
...
#KT-29364 Fixed
2020-06-11 12:20:32 +03:00
Toshiaki Kameyama
cbbdec5898
Change Signature: enable on primary constructor keyword ( #2482 )
...
#KT-19744 Fixed
2020-06-11 12:10:12 +03:00
Toshiaki Kameyama
957a927790
KT-15846 'Change lambda expression return type' quick fix does nothing ( #3182 )
...
* Change parameter type quickfix: fix it works correctly on property delegate
#KT-15846 Fixed
* Change parameter type quickfix: fix it works correctly when function literal has trailing comments
#KT-15846 Fixed
2020-06-11 12:07:44 +03:00
Konstantin Tskhovrebov
d61e40e49b
Add tests for setup native run gutters.
2020-06-10 15:58:47 +03:00
Pavel Kirpichenkov
83144d59be
Fix tests
2020-06-10 10:58:42 +03:00
Konstantin Tskhovrebov
21f7cd5d8f
Add test for check expect/actual gutters at same module.
2020-06-09 16:28:28 +03:00
Ilya Kirillov
19d721d262
FIR IDE: mute not passing tests
2020-06-09 16:20:02 +03:00
Ilya Kirillov
1b8ea31172
FIR IDE: ignore not passing highlighting tests
2020-06-09 16:19:56 +03:00
Ilya Kirillov
00a271dd94
FIR IDE: Remove IGNORE_FIR from passing tests
2020-06-09 16:19:48 +03:00
Andrei Klunnyi
b08f501aac
KT-38027 Support Code Vision feature in Kotlin
2020-06-05 19:15:34 +02:00
Svyatoslav Scherbina
46caf27e70
Add "Remove annotation" quickfix for @Throws override mismatch
2020-06-05 19:07:56 +03:00
Svyatoslav Scherbina
6461c1b4f1
Add "Remove annotation" quickfix for empty @Throws
2020-06-05 19:07:54 +03:00
Svyatoslav Scherbina
b7a08494ae
Add quickfix for adding CancellableException to @Throws suspend fun
2020-06-05 19:07:52 +03:00
Toshiaki Kameyama
e4a1c8dcef
Anonymous function to lambda: add lambda parameter if type parameter is used, even if parameter is unused
...
#KT-39393 Fixed
2020-06-05 17:32:35 +03:00
Roman Golyshev
f9b3daabd1
Change testData for ShortenRefsTestGenerated to not use sql package
...
- Those packages are missing in the mockJdk 1.8 in intellij repository,
and it leads to those tests failing in kotlin-ide repository
- Test in `ShortenRefsTestGenerated` do not fail, but they are working
for the wrong reason (they do not shorten unresolved references)
2020-06-05 16:03:51 +03:00
Roman Golyshev
7d662bf5d1
Change testData for IntentionsTestGenerated to avoid using javax and sql packages
...
- Those packages are missing in the mockJdk 1.8 in intellij repository,
and it leads to those tests failing in kotlin-ide repository
2020-06-05 16:03:51 +03:00
Toshiaki Kameyama
46ab338ea6
"Convert anonymous function to lambda expression" intention: add necessary lambda type parameter
...
#KT-37748 Fixed
2020-06-04 23:38:29 +03:00
Nikita Bobko
a94d2211e4
Cleanup getLineCount
2020-06-04 14:56:23 +03:00
Toshiaki Kameyama
148f49d54a
UselessCallOnCollectionInspection: fix false positive when lambda last statement is function call that returns generic type
...
#KT-38267 Fixed
2020-06-03 20:42:42 +03:00
Toshiaki Kameyama
6cb0190fad
FoldInitializerAndIfToElvis: should not add new line for multiline initializer
...
#KT-35805 Fixed
2020-06-03 12:35:50 +03:00
Toshiaki Kameyama
343af60cb4
Add intention to expand boolean expression
...
#KT-38597 Fixed
2020-06-02 23:52:06 +03:00
Toshiaki Kameyama
afd544cbab
Introduce "Redundant 'asSequence' call" inspections
...
#KT-35893 Fixed
2020-06-02 22:17:54 +03:00
Yunir Salimzyanov
3b9000cc0c
Cleanup 191 extension files (KTI-240)
2020-06-01 18:43:10 +03:00
Yunir Salimzyanov
7ab7ca5ff0
Cleanup as35 extension files (KTI-240)
2020-06-01 18:43:10 +03:00
Yan Zhulanow
4d859a7212
Revert "TrailingCommaInspection: don't report Missing line break for when entry that has no trailing comma"
...
This reverts commit 25787eb8
2020-06-02 00:17:24 +09:00
Nikita Bobko
2ef46b586d
Fix broken NavBar for 201
...
^KT-38466 Fixed
^KT-38260 Fixed
2020-06-01 17:05:10 +03:00
Toshiaki Kameyama
45d60baeb0
Add import for member: don't suggest if a class with the same name has been imported
...
#KT-38492 Fixed
2020-06-01 21:42:04 +09:00