Roman Golyshev
539d2bc01f
FIR Completion: Fix completion with error type as receiver
...
- When type is error, the completion should not show anything; instead,
it was showing as if the explicit receiver was not there
2020-08-20 11:33:23 +03:00
Roman Golyshev
bca9754a7b
FIR Completion: Move completion from available scopes to separate class
2020-08-20 11:33:23 +03:00
Toshiaki Kameyama
8ce9b2d061
KT-34572 Convert to block body action improperly works with suppress annotations ( #2969 )
...
* Convert to block body: place @Suppress annotation before return expression
#KT-34572 Fixed
* Convert to block body: place annotations before return expression
2020-08-20 11:15:00 +03:00
Mads Ager
119302b016
[JVM_IR] Run KotlinSteppingTests with the JVM_IR backend.
...
Implement support for supressing failures by backend.
2020-08-20 05:48:54 +02:00
Nikolay Krasko
d87d42348b
Mute flaky GotoWithMultipleLibrariesTest
...
Tests are flaky after https://github.com/JetBrains/kotlin/commit/e2a12602a3e8fa8e4425282d924db0fa29195873
2020-08-19 23:01:09 +03:00
Nikolay Krasko
7de5368b4d
Fix AbstractGradleBuildRootsLocatorTest tests
2020-08-19 23:01:08 +03:00
Yunir Salimzyanov
70cda1b113
Refactor and fix files previously affected by 192 patchset (KTI-315)
2020-08-19 19:40:02 +03:00
Yunir Salimzyanov
42da9e62db
Cleanup 192 patchset files (KTI-315)
2020-08-19 19:40:02 +03:00
Yunir Salimzyanov
73aa21aab6
Refactor and fix files previously affected by as36 patchset (KTI-315)
2020-08-19 19:40:00 +03:00
Yunir Salimzyanov
27b2e16141
Cleanup as36 patchset files (KTI-315)
2020-08-19 19:40:00 +03:00
Vladimir Dolzhenko
d0366d3bcb
Failed test clean up
...
Relates to ^KT-40960
2020-08-19 15:06:53 +02:00
Toshiaki Kameyama
11044a3ab5
Surround with null check: fix incorrect check for 'in' expression
...
#KT-31749 Fixed
2020-08-19 14:37:24 +03:00
Toshiaki Kameyama
1188f4617a
Change file's package to match directory: add space after package keyword if needed
...
#KT-39604 Fixed
2020-08-19 14:04:18 +03:00
Toshiaki Kameyama
f3be3f449a
Scope function conversion: do not suggest when invoked without receiver
...
#KT-35525 Fixed
2020-08-19 12:27:41 +03:00
Toshiaki Kameyama
8ba5548a0f
"Eliminate argument of 'when'": do not suggest if 'when' is used as expression and it has no 'else' branch ( #2898 )
...
#KT-35526 Fixed
2020-08-19 12:24:58 +03:00
Toshiaki Kameyama
d965ad0a98
IfThenToSafeAccessInspection: do not report if condition is SENSELESS_COMPARISON/USELESS_IS_CHECK ( #3007 )
...
#KT-36051 Fixed
2020-08-19 12:22:10 +03:00
Toshiaki Kameyama
122bba9102
UnnecessaryVariableInspection: don't report for overriding property
...
#KT-39263 Fixed
2020-08-19 12:16:37 +03:00
Igor Yakovlev
c29dbee65e
Cover move method refactoring with registry key (disabled by default)
2020-08-19 12:11:53 +03:00
aleksandrina-streltsova
ed67517fb9
Move: make minor refactorings and add GUI form for MoveKotlinMethodDialog
2020-08-19 12:11:53 +03:00
aleksandrina-streltsova
5515465760
Move: Support method moving
2020-08-19 12:11:53 +03:00
Anton Yalyshev
26ca205f7e
Fix a broken hyperlink to Whatsnew at the plugin change-notes
2020-08-19 11:41:13 +03:00
Ilya Kirillov
ccf285a284
FIR IDE: do not recreate analysis session for tests now
2020-08-19 11:35:42 +03:00
Ilya Kirillov
c191373a6b
FIR IDE: always pass ValidityToken to KtAnalysisSessionComponent
2020-08-19 11:35:41 +03:00
Ilya Kirillov
2290d2fcc0
FIR IDE: make FirScopeRegistry belong to a KtFirScopeProvider
2020-08-19 11:35:40 +03:00
Roman Golyshev
7d58588f06
FIR IDE: Fix KtFirPropertySymbol::receiverType
2020-08-19 11:23:56 +03:00
Dmitriy Dolovov
24bfc155af
IDE perf tests for K/N: Use Gradle 6.6
2020-08-19 12:45:16 +07:00
Dmitriy Dolovov
6a95317f73
IDE perf tests for K/N: Switch to 1.4.0
2020-08-19 12:45:09 +07:00
Vladimir Dolzhenko
be53467bee
Flaky and muted navigation tests clean up
...
Relates to #KT-40960
2020-08-18 08:23:02 +00:00
Vladimir Dolzhenko
5c7054a5ab
Fixed src path for mock library
...
Relates to #KT-40960
2020-08-18 08:23:00 +00:00
Natalia Selezneva
7b80be5c9d
Temporary workaround for gradle issue: wrong navigation for included plugin source code
...
https://github.com/gradle/gradle/issues/13783
^KT-39522
2020-08-17 23:12:51 +03:00
Alexander Udalov
a21f273570
Fix compiler warnings in compiler code
2020-08-17 21:18:20 +02:00
Simon Ogorodnik
0045b501d5
FIR IDE: Fix memory leak in thread locals
2020-08-17 20:05:52 +03:00
Ilya Kirillov
76b078b561
FIR IDE: resolve KtFirLocalVariableSymbol only to IMPLICIT_TYPES_BODY_RESOLVE
2020-08-17 20:05:52 +03:00
Simon Ogorodnik
c7d6a79c25
FIR IDE: Fix completion in case of function with parameters
2020-08-17 20:05:52 +03:00
Nikolay Krasko
50d85b92da
Remove more kotlin-dev usages
2020-08-17 19:40:47 +03:00
Nikolay Krasko
be2badc6ed
Remove kotlin-dev from gradle migrate test
2020-08-17 19:40:47 +03:00
Nikolay Krasko
0c27e87eb9
Remove kotlin-dev from gradle configurator tests
2020-08-17 19:40:46 +03:00
Dmitriy Dolovov
3dc3c19c02
[Commonizer] Fix ImportAndCheckNavigation IT
2020-08-17 21:52:40 +07:00
Toshiaki Kameyama
35459d2ca7
"Add not-null asserted (!!) call": add '!!' to receiver of function reference
...
#KT-37841 Fixed
2020-08-17 12:05:45 +03:00
Ilya Kirillov
5e5e19f482
FIR IDE: temporary disable AddFunctionReturnTypeIntention
2020-08-17 11:38:05 +03:00
Ilya Kirillov
b79deafbc7
FIR IDE: fix testdata
2020-08-17 11:38:04 +03:00
Ilya Kirillov
27c045d035
FIR IDE: move all all symbol markers to markers package
2020-08-17 11:38:02 +03:00
Ilya Kirillov
052e8e5069
FIR IDE: make a symbol hierarchy a sealed one
2020-08-17 11:38:01 +03:00
Ilya Kirillov
018dd673b3
FIR IDE: simplify containing declaration provider
2020-08-17 11:38:00 +03:00
Ilya Kirillov
37ac654444
FIR IDE: rework high level API
...
Make analysis session to always be a receiver parameter
2020-08-17 11:37:58 +03:00
Ilya Kirillov
cadf99ca1e
FIR IDE: introduce containingDeclarationProvider for symbols
2020-08-17 11:37:57 +03:00
Ilya Kirillov
b5a4e4c409
FIR IDE: introduce applicable computation & -based inspection
2020-08-17 11:37:56 +03:00
Ilya Kirillov
c8ab0766c9
FIR IDE: Implement symbol restoring for member symbols
2020-08-17 11:37:55 +03:00
Ilya Kirillov
e4995175a4
FIR IDE: fix idea-frontend-fir testdata
2020-08-17 11:37:53 +03:00
Ilya Kirillov
5f20910c79
FIR IDE: always try to find symbol origin in overridden symbols
2020-08-17 11:37:52 +03:00