Dmitriy Novozhilov
8e0d0d2fd8
Remove redundant safe call to fix FIR compilation
2020-09-14 10:57:09 +03:00
Roman Golyshev
703150e3ad
FIR IDE: Refactor LowLevelFirApiFacade.kt
2020-09-12 11:49:36 +00:00
Roman Golyshev
edb277b30a
FIR Completion: Enable passing tests
2020-09-12 11:49:36 +00:00
Roman Golyshev
dcc22d3e5d
FIR IDE: Fix completion in property setters
...
Property consists of getter and setter (both optional). The setter
have a single `value` parameter with type
Because of it, we have to make a separate 'frankenstein setter' with
original resolved header, but with the body of the fake one
It seems that getters does not have such issues
2020-09-12 11:49:35 +00:00
Roman Golyshev
5c1520305b
FIR IDE: Build symbols from any FirValueParameter
2020-09-12 11:49:35 +00:00
Roman Golyshev
ae8933dbd2
FIR IDE: Correctly handle properties in KtFirCompletionCandidateChecker
...
- Introduce `EnclosingDeclarationContext` to remove code duplication
2020-09-12 11:49:34 +00:00
Roman Golyshev
6fd871d0ba
FIR IDE: Add building completion context for properties
2020-09-12 11:49:33 +00:00
Toshiaki Kameyama
370622087b
Redundant nullable return type: false negative with return expression in local function or lambda
...
#KT-41817 Fixed
2020-09-11 19:09:57 +02:00
Toshiaki Kameyama
de3907e8cc
Redundant nullable return type: fix false positive with non-local return
...
#KT-41800 Fixed
2020-09-11 19:09:57 +02:00
Victor Petukhov
fca6436170
Fix IDE test after bcd33da6f8
2020-09-11 13:51:15 +03:00
Igor Yakovlev
e08763f3dd
[ULC] Add annotations for PsiTypes in UltraLight classes
...
WIP on KT-41148, KT-41406, KT-41420
2020-09-11 12:49:05 +03:00
Igor Yakovlev
309bf49a83
Update lightclass tests renderer
...
+mute invalid old light classes tests
2020-09-11 12:49:04 +03:00
Igor Yakovlev
c70383cc70
[ULC] Add compiler flag -Xdisable-ultra-light-classes to fallback to light implementation in CLI
2020-09-11 12:49:04 +03:00
Igor Yakovlev
4b8f1bb362
[ULC] Add LanguageVersionSettings to CliLightClassGenerationSupport
...
+ refactoring
2020-09-11 12:49:04 +03:00
Igor Yakovlev
131c14626c
[ULC] Fix invalid alias search for UL classes
2020-09-11 12:49:03 +03:00
Igor Yakovlev
dbb4337ac4
[ULC] Fix invalid annotation resolve for KtUltraLightParameterForSetterParameter
2020-09-11 12:49:02 +03:00
Igor Yakovlev
6542ea9ba1
[ULC] Add constant evaluation to light classes service
2020-09-11 12:49:01 +03:00
Igor Yakovlev
55bb8f24e3
[ULC] Move UltraLightSupport to service provided bridge
2020-09-11 12:49:01 +03:00
Igor Yakovlev
6accc8fcf9
[ULC] Fixed invalid constructor parameter list for UL script
2020-09-11 12:48:59 +03:00
Dmitriy Novozhilov
07a3009d43
Introduce new modules for common parts of deserialization
2020-09-11 10:08:37 +03:00
Vladimir Dolzhenko
38854ce40b
Disable profilerConfig for AHeavyInspectionsPerformanceTest
2020-09-10 16:23:51 +02:00
Kirill Shmakov
29f3811bab
Update gradle tooling
...
In response to a766369e72
2020-09-10 16:07:30 +03:00
Vladimir Dolzhenko
a73856be66
Add warn message to ReplaceWithIgnoreCaseEquals inspection.
...
Relates to ^KT-40016
2020-09-10 08:20:54 +00:00
Vladimir Dolzhenko
5036673187
Improve package caching in KotlinJavaPsiFacade
...
^KT-33394 Fixed
2020-09-10 07:38:46 +00:00
Andrey Uskov
05d3e48564
Implemented collecting statistics about JS target mode
2020-09-10 00:39:27 +03:00
Ilya Goncharov
4716228500
Add js generate executable default collecting statistics
...
#KT-40462 Fixed
2020-09-10 00:39:24 +03:00
Ilya Goncharov
405e271b68
Add js generate externals collecting statistics
...
#KT-39995 Fixed
2020-09-10 00:39:20 +03:00
Vladimir Dolzhenko
6f03e42ef7
Revert back Inspection: convert initialized val to non-null type
...
Relates to ^KT-35757
Relates to ^KT-19321
2020-09-09 23:38:21 +02:00
Vladimir Dolzhenko
d324ae6cda
Fix AS 4.0 compilation
2020-09-09 17:59:49 +02:00
Toshiaki Kameyama
5c011bc954
Don't report when property is multi-line and action is MOVE
2020-09-09 22:31:56 +07:00
Toshiaki Kameyama
4569b85a16
MoveVariableDeclarationIntoWhenInspection: report it if initializer is single line even if property is multi line
...
#KT-39467 Fixed
2020-09-09 22:31:56 +07:00
Vladimir Ilmov
75d4c7e91c
Find stdlib usages test case
...
relates to #KT-39196
2020-09-09 17:30:04 +02:00
Vladimir Ilmov
8b239d89b6
SourceNavigationHelper multifile classes support
...
Use .class files as BINARY instead of .metadata.
relates to #KT-39196
2020-09-09 17:30:04 +02:00
Vladimir Dolzhenko
ac22232b8d
Register disposable startup items in PluginStartupService
2020-09-09 12:51:19 +00:00
Vladimir Dolzhenko
e5985ad98b
Rename PluginStartupService to PluginStartupApplicationService
2020-09-09 12:51:18 +00:00
Roman Golyshev
7bd9c52732
FIR Completion: Fix completion in function calls (foo.bar<caret>())
...
In such expressions, `KtCallExpression` wraps `KtSimpleNameExpression`,
so `getQualifiedExpressionForSelector()` returns `null`
Also, enable tests that are fixed by this
2020-09-09 13:14:08 +03:00
Roman Golyshev
2d4d48b401
FIR IDE: Invert the order of the scopes for completion
...
This way local declarations will be fetched first
2020-09-09 13:14:08 +03:00
Dmitriy Novozhilov
1a84ec9677
[FIR] Mark all session components respectively to they have mutable state or not
...
Also add documentation for all fir annotations
2020-09-09 12:38:35 +03:00
Dmitriy Novozhilov
41b395b0aa
[FIR] Extract mutable state from InferenceComponents
2020-09-09 12:38:35 +03:00
Dmitriy Novozhilov
912676d868
[FIR] Introduce ResolutionContext and get rid of components in Candidate
2020-09-09 12:38:34 +03:00
Dmitriy Novozhilov
19707667fd
[FIR] Cleanup detection that applicability is successful
2020-09-09 12:38:34 +03:00
Dmitriy Novozhilov
68f3d84e22
[FIR] Use CandidateApplicability from FE 1.0
2020-09-09 12:38:34 +03:00
Ilya Kirillov
2ab68b3245
Wizard: move boolean setting description to the bottom
2020-09-09 00:20:58 +03:00
Ilya Kirillov
ce00366c7f
Wizard: fix when first selected template cannot be applied
2020-09-09 00:20:58 +03:00
Ilya Kirillov
7002e86d6b
Wizard: fix path & artifactId updating on name update
...
#KT-41695 fixed
2020-09-09 00:20:56 +03:00
Dmitriy Novozhilov
a8a5ed3cd3
[FIR] Get rid of runCheck in checkers components
2020-09-08 12:51:11 +03:00
Vladimir Ilmov
aa04c0b5df
Parent call already on KotlinBuiltInDecompiler.kt:79
2020-09-08 10:59:17 +02:00
Pavel Kirpichenkov
b5aca450b1
Make cancellation checks when building resolution anchor caches
...
^KT-39734
2020-09-07 18:52:10 +03:00
Pavel Kirpichenkov
54811613f4
Minor: drop unnecessary wrapper for utility function
...
^KT-39734
2020-09-07 18:52:10 +03:00
Pavel Kirpichenkov
1ff064d98d
Make Kotlin OOCBM updater for modules internal again
...
Replace direct API access with dedicated service.
2020-09-07 18:52:10 +03:00