Nicolay Mitropolsky
9d01c87c51
KotlinElementActionsFactory: cleanup JvmElementActionsFactory API (KT-33779)
2019-09-19 10:45:12 +03:00
Vladimir Dolzhenko
3bcbcbfd47
Fix read action in 'processLightClassLocalImplementations' (EA-210464)
2019-09-18 10:44:43 -07:00
Vladimir Dolzhenko
81c9edfff4
Get rid of implicit resolve within statsInfo for KotlinAddImportAction (EA-210670)
2019-09-18 10:43:38 -07:00
Vladimir Dolzhenko
3a1d649b30
Don't trigger refresh of vfs in 'getOutsiderFileOrigin' (EA-209420)
2019-09-18 10:23:34 -07:00
Vladimir Dolzhenko
2afbeaa353
Drop resolve on 'collectTransferableData' and reworked MoveDeclarations QuickFix (EA-210670)
2019-09-18 09:01:09 -07:00
Vladimir Dolzhenko
3d79e77df3
Add async profiler to perfTests
2019-09-18 08:49:28 -07:00
Nikolay Krasko
220a8f2872
Clear internal caches in PerModulePackageCacheService on dispose (KT-33802)
2019-09-18 11:30:02 +03:00
Anton Yalyshev
dfde3b4076
Rename collector of debugger events
2019-09-18 10:06:45 +03:00
Anton Yalyshev
61eb9faecd
Move status of evaluation from eventId to context for better data analytics
2019-09-18 10:06:45 +03:00
Denis Zharkov
b3e96a1fcf
FIR: Merge FirTopLevelDeclaredMemberScope into FirSelfImportingScope
...
It's strange that those scopes have similar semantics but belong
to different level (that might change semantics a bit)
2019-09-18 10:03:55 +07:00
Denis Zharkov
fb4b6b8290
FIR: Move constructor processing from scopes to tower resolvers
2019-09-18 10:03:28 +07:00
Vyacheslav Gerasimov
6327f657a5
193: Add bunches for 193 platform
2019-09-17 21:16:13 +03:00
Vyacheslav Gerasimov
7fe25e922c
193: Fix nullability in KotlinImportOptimizer
2019-09-17 21:16:12 +03:00
Dmitriy Novozhilov
e70c1d6959
[FIR] Remove default visited hierarchy
2019-09-17 18:09:18 +03:00
Nikolay Krasko
9b32bd7138
Do special insert even for custom trimIndent() function to avoid using resolve (KT-31810)
2019-09-17 17:16:30 +03:00
Toshiaki Kameyama
147f805c56
Paste inside indented .trimIndent() raw string: respect indentation (KT-31810)
...
#KT-31810 Fixed
2019-09-17 17:16:30 +03:00
Ilya Kirillov
c6e0356a59
Do not search for getter usages for every "may be const" quickfix invocation
...
It is a rather expensive operation which is critical for j2k
relates to #KT-33854
2019-09-17 11:56:05 +03:00
Ilya Kirillov
2916be6a53
Remove duplicating interface in J2K
...
#KT-33445 fixed
2019-09-17 11:56:05 +03:00
Ilya Kirillov
1cf348baba
Do not commit document on non-kotlin files when trying to perform j2k conversion
...
#KT-33725 fixed
2019-09-17 11:56:04 +03:00
Nikolay Krasko
fc4865a440
Don't extend to comments when a comment is being moved (KT-23461)
2019-09-16 16:57:48 +03:00
Nikolay Krasko
11de99f9d7
Minor refactoring for KotlinExpressionMover (KT-23461)
...
Extract function, some better naming.
2019-09-16 16:57:48 +03:00
Toshiaki Kameyama
ed28a06285
Move statement: move expression over comments (KT-23461)
...
#KT-23461 Fixed
2019-09-16 16:57:48 +03:00
Mikhail Glukhikh
20c45a8382
FIR general refactoring: get rid of ConeSymbols
2019-09-16 16:55:42 +03:00
Toshiaki Kameyama
6b36833ee2
Highlight usages: highlight declaration/usage on call of function with lambda argument (KT-30824)
...
#KT-30824 Fixed
2019-09-16 16:26:02 +03:00
Nikolay Krasko
26bef2d109
Fix muted usage highlighter test by ignoring irrelevant highlighting
...
UsageHighlightingTestGenerated.testImplicitReturnExpressionsInLambdasNoHightlighting
2019-09-16 16:26:02 +03:00
Toshiaki Kameyama
7b8abc5457
Move statement: enable expression ended with semicolon (KT-8581)
...
#KT-8581 Fixed
2019-09-16 16:26:02 +03:00
Igor Yakovlev
27accbb089
Fix KotlinLintTestGenerated.testParcel + extensions registrations fixes
2019-09-13 19:40:31 +03:00
Vladimir Dolzhenko
c3265a8bf0
Decrease Light classes code generation in multithreaded cases by guarding KotlinClassInnerStuffCache, LightClassDataHolder.ForClass cache values calculation with lock
2019-09-13 15:10:09 +02:00
Roman Golyshev
b422485440
KT-30996: Use the last receiver to complete dsl methods
...
- change `detectReceiverTypes` return type to `List` instead of `Collection`
- it reflects that receiver types are actually ordered
- did not propagate signature changes to all possible places because it creates too much noise in git history
- ^KT-30996 Fixed
2019-09-13 15:52:52 +03:00
Pavel Kirpichenkov
55cb9561c2
Provide better error messages for read-only delegate
...
Split error reporting into two parts for incorrect and missing candidates.
Missing function error is not reported on provideDelegate.
Update error factory and default message for error.
Update error texts in quick fix test data.
#KT-16526 Fixed
2019-09-12 14:58:21 +03:00
Dmitriy Novozhilov
68bcdaa6c3
Don't ask for member scope for ILT in IterableTypesDetection
...
EA-206183 fixed
2019-09-12 12:27:12 +03:00
Natalia Selezneva
89140be71d
Minor: better error message
2019-09-12 09:56:42 +03:00
Natalia Selezneva
6d53636cc9
Minor: extract classes
2019-09-12 09:56:42 +03:00
Natalia Selezneva
8f2aaf62c2
Implement modification stamp for ScriptInitializer
...
This should influence ResolveElementCache to correctly update caches
because it rely on modifications stamps of the declaration
Before this change file.modificationStamp was used for script initializers in file, so they all became outdated after some change in file
2019-09-12 09:56:42 +03:00
Andrey Uskov
15bfb7498c
Minor. Fix target platforms formatting in FacetSettings
...
#KT-33813 Fixed
2019-09-11 22:57:11 +03:00
Nikolay Krasko
a5b21308fd
Minor refactoring for TypeHints properties (KT-22433)
2019-09-11 17:42:05 +03:00
Toshiaki Kameyama
36de8f1aa9
Type hints: don't show for incomplete expressions followed by Unit type expressions (KT-22433)
...
#KT-22433 Fixed
2019-09-11 17:42:04 +03:00
Toshiaki Kameyama
6e852837f7
Folding: fold "when" expression (KT-6314)
...
#KT-6314 Fixed
2019-09-11 17:42:04 +03:00
Igor Yakovlev
2b7dee6f8d
Add CodegenApplicabilityCheckerExtension and use it to fallback to Heavy LigthClasses
...
+ Fixed #KT-33584
2019-09-11 15:29:12 +03:00
Nikolay Krasko
f3b7d2fca9
Fix exception of getting parent for the root package (EA-210820)
2019-09-11 12:51:55 +03:00
Nikolay Krasko
d3f03cc607
Remove deprecated usage of BulkFileListener.Adapter
2019-09-11 12:40:26 +03:00
Nikolay Krasko
7f8774f68e
Fix NPE in KotlinIndicesHelper (EA-209799)
2019-09-11 12:40:26 +03:00
Nikolay Krasko
90511c734d
Fix NPE in JavaToKotlinAction (EA-210821)
2019-09-11 12:40:26 +03:00
Vladimir Dolzhenko
d1285d9dbf
Fix performanceTests for 192; Add perfCounters
2019-09-10 14:02:56 +02:00
Mikhail Zarechenskiy
85ff979bd4
Use PARTIAL mode in analyzer to provide lambda return value hints
...
It only uses `isUsedAsResultOfLambda` (so, CFA) and don't have to
resolve bodies fully
2019-09-09 15:22:41 +03:00
Nikolay Krasko
d253cd5032
Ignore external annotations in AbstractResolveByStubTest (KT-33732)
...
In IDE with have descriptors with additional annotations obtained from
external annotations manager. They are probably only java overrides so
shouldn't be present in stubs, thus must be ignored in this test.
Tests with enums started to fail after upgrading to 192 platform because
of additional NotNull annotation on `getDeclaringClass()` method.
#KT-33732 Fixed
2019-09-09 14:35:58 +03:00
Nikolay Krasko
80b5c76d98
Minor: fix warnings in AbstractResolveByStubTest
2019-09-09 14:35:58 +03:00
Roman Golyshev
9a938b07ba
KT-17689: Fix TypeAliasQualifier to provide enum entries descriptors
...
- this adds enum entries to the completion on the typealiases
- we cannot use `unsubstitutedInnerClassesScope` instead of `EnumEntriesScope` because it allows to complete things that are not allowed to be resolved by the Kotlin compiler; see `EnumEntriesScope` doc for details
- ^KT-17689 Fixed
2019-09-06 12:11:23 +03:00
Roman Golyshev
f419d2eb30
KT-33585: Add synchronization between scratch editor and preview
...
- fix problem with not working shortcuts in the preview window by passing more params into view editor creation
2019-09-06 12:03:35 +03:00
Roman Golyshev
d12d9d86bc
KT-33585: Refactor KtsScratchFileEditorWithPreview and its output handlers
...
- now `PreviewOutputBlocksManager` is injected into `PreviewEditorScratchOutputHandler`, so `KtsScratchFileEditorWithPreview` can use it too
2019-09-06 11:36:37 +03:00