Konstantin Tskhovrebov
08438dade2
Add project resolver for adding commonizer gradle task to IDEA import
2020-06-02 11:03:51 +03:00
Vyacheslav Gerasimov
048559c053
as41: Register OCBundle for AS tests
...
fixes mass test fail with 'navigation.class.hierarchy' is not found in java.util.PropertyResourceBundle
2020-06-02 09:23:44 +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
Yan Zhulanow
a421f74ef0
Revert "Minor: extract new line allowance check"
...
This reverts commit e2f0b76e
2020-06-02 00:17:23 +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
Toshiaki Kameyama
329f0227ec
Remove explicit type specification: do not suggest for suspend function type
...
#KT-38310 Fixed
2020-06-01 21:42:04 +09:00
Toshiaki Kameyama
098469eb85
Implement members: implement functions in the same order as within Java interface
...
#KT-31760 Fixed
2020-06-01 21:42:04 +09:00
Yan Zhulanow
741ebeb7b8
Mark semicolons after nullable types redundant, despite of '!' after (KT-38240)
2020-06-01 21:42:04 +09:00
Toshiaki Kameyama
4cf83d9526
Redundant semicolon: don't report when semicolon is between type and '!'
...
#KT-38240 Fixed
2020-06-01 21:42:04 +09:00
Yan Zhulanow
8e8171547b
Add super type in "Convert to anonymous object" test
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
111b2945e1
"Convert to anonymous object" quickfix: false negative when interface has concrete members
...
#KT-37908 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
5b927d798c
Replace explicit parameter with it: don't suggest if overload resolution ambiguity error occurs
...
#KT-20795 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
69a2697598
Convert lambda to reference: add type parameter to outer call expression if needed
...
#KT-37744 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
a4239afcb3
Convert to anonymous function: do not suggest for suspend functions
...
#KT-37842 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
ded996bdf7
PlatformExtensionReceiverOfInline: fix false positive with extension function with nullable type receiver
...
#KT-37256 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
6868f53f46
"Change JVM name" (@JvmName) quickfix: improve name suggester for generic functions
...
#KT-38559 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
5efbbdea57
Lift assignment out: do not report when assignment variables are different
...
#KT-38649 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
498c40548b
Structure view: add visibility sorter
...
#KT-36444 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
9aaba8c759
Structure view: add visibility filter for class properties
...
#KT-38276 Fixed
2020-06-01 21:42:03 +09:00
Yan Zhulanow
e2f0b76e2f
Minor: extract new line allowance check
2020-06-01 21:42:02 +09:00
Toshiaki Kameyama
25787eb869
TrailingCommaInspection: don't report Missing line break for when entry that has no trailing comma
...
#KT-38568 Fixed
2020-06-01 21:42:02 +09:00
Toshiaki Kameyama
3272b8fc2c
CanSealedSubClassBeObjectInspection: don't report if sub-class has classModifier
...
#KT-38790 Fixed
2020-06-01 21:42:02 +09:00
Toshiaki Kameyama
cea879cbd5
"Make containing function suspend" quickfix: don't suggest for anonymous function
...
#KT-38948 Fixed
2020-06-01 21:42:02 +09:00
Toshiaki Kameyama
8f3392d635
Convert lambda to reference: fix it works correctly in anonymous object
...
#KT-31682 Fixed
2020-06-01 21:42:02 +09:00
Toshiaki Kameyama
b9fab1123d
Convert lambda to reference: fix it works correctly for labeled expression
...
#KT-37214 Fixed
2020-06-01 21:42:02 +09:00
Toshiaki Kameyama
2a36a8acac
JavaMapForEachInspection: don't report if argument is not single
...
#KT-39151 Fixed
2020-06-01 21:42:02 +09:00
Yan Zhulanow
7d3b28d75b
Add missing runReadAction call (EA-223789)
2020-06-01 21:42:02 +09:00
Natalia Selezneva
fd07d5f301
Scripting setting: auto reloading of script dependencies is now per definition
2020-06-01 15:12:53 +03:00
Roman Golyshev
8726d3dc4e
KT-37950 Add io.ktor packages to 'Packages to use * import' list
...
- Ktor code style [here](https://ktor.io/quickstart/code-style.html )
suggests to use star imports for Ktor packages
- Absence of it in the default code style for Kotlin results in some
inconveniences during auto-import and autocompletion (see the issue)
- Automatic * import should mitigate the issue, since the first
autocompleted item from the proper package should import the whole
package, and then no further auto-import would be required for the
next completions
- KT-37950 Fixed
2020-06-01 14:41:51 +03:00
Vyacheslav Gerasimov
8704946498
as41: Fix testResourceBundle hack for AS 4.1
2020-06-01 12:29:10 +03:00
Vyacheslav Gerasimov
7d7835f0f4
as41: Remove ApplicationUtils.kt.as41 which should be same as for 201
2020-06-01 12:29:10 +03:00
Vyacheslav Gerasimov
af1e815f47
as41: Remove AbstractModelBuilderTest.java.as41
...
Should be same as for 201
2020-06-01 12:29:09 +03:00
Roman Golyshev
7fb5acc718
KT-18538 Fix inspection to detect unnecessary grand-base class qualifier
...
- Add separate option to enable/disable this inspection, as it is not
obvious if it should be always enabled or not
- This option can be used to detect all unnecessary qualifiers in
tests
- Add possibility to configure inspections via `settings.xml` in the
`AbstractMultiFileLocalInspectionTest.kt`
- ^KT-18538 Fixed
2020-06-01 08:59:37 +00:00
Roman Golyshev
2c12d26d28
KT-18538 Unwrap fake override in ShortenReferences
...
- Fake override prevents reference shortener from shortening of static
methods declared in the class bases when they are located not in
direct parent of the class (for example, in grand-
or grand-grand-parent)
- The completion uses descriptor with unwrapped fake override when it
performs the insertion. It leads to inserting the name of the base which
actually contains the static method instead of the direct parent class.
Now, when reference shortener compares unwrapped descriptors, this
problem should be fixed during insertion handling
2020-06-01 08:59:37 +00:00
Roman Golyshev
43bbfa78d1
KT-18538 Cleanup in ShortenReferences
2020-06-01 08:59:36 +00:00
Roman Golyshev
16bdfa4fee
KT-18538 Cleanup in RemoveRedundantQualifierNameInspection
2020-06-01 08:59:36 +00:00
Mikhail Zarechenskiy
7ec8716d65
Introduce HTML redenred version for compatibility warning
2020-06-01 10:19:36 +03:00
Vladimir Ilmov
73f4b61022
(CoroutineDebugger) Windows test fix for kotlinx-coroutines-core
2020-05-31 20:24:41 +02:00
Yunir Salimzyanov
4e732b7ba2
Wrap parametrized tests with muteWithDatabase
...
Cause: should correctly run muted tests in database (KTI-216)
2020-05-30 22:50:34 +03:00
Yunir Salimzyanov
8d51b027ed
Add annotation to prevent test invocation twice
...
Cause: it helps to fix double inversion of muted non-flaky tests result
(KTI-216).
2020-05-30 22:50:34 +03:00
Vladimir Ilmov
0b3ae50f31
Revert "(CoroutineDebugger) Windows test fix for kotlinx-coroutines-core"
...
This reverts commit faaf40dbe5 .
2020-05-30 17:09:52 +02:00
Vladimir Ilmov
faaf40dbe5
(CoroutineDebugger) Windows test fix for kotlinx-coroutines-core
2020-05-30 10:55:49 +02:00
Nikita Bobko
aa5a5c954f
Refactoring: change "// BUNCH: xxx" format
...
It wasn't obvious how to use this comment properly.
Now it should be clear
2020-05-29 20:31:12 +03:00
Nikita Bobko
b34fe77760
Split bunches with comma
2020-05-29 20:31:12 +03:00
Alexander Udalov
7d9fe55072
Regenerate tests
2020-05-29 15:15:43 +02:00
Ilya Kirillov
0fc43b1f57
Wizard: add possibility to change Kotlin version for generated projects via property
...
#KT-39247 fixed
2020-05-29 10:48:53 +03:00
Dmitriy Novozhilov
b4ce736814
[FIR] Move registration components out of initializers of FirSession
2020-05-29 10:24:26 +03:00