Igor Yakovlev
3f9bffcc5f
Move UL compiler plugin support to separate extension point
2019-10-18 23:22:47 +03:00
Igor Yakovlev
6ce37fff95
Add UL support for AllOpen compiler plugin
2019-10-18 23:22:47 +03:00
Roman Golyshev
6560ecc82b
KT-15286: Provide object member extensions in the completion
...
- Add extensions only when completion of static members is enabled (double ctrl + space and nonempty prefix)
- Add full import for callables with receiver in `LookupElement.decorateAsStaticMember`
2019-10-18 17:17:28 +03:00
Toshiaki Kameyama
15613afa20
Control flow with empty body: do not report 'if' with comments
...
#KT-34325 Fixed
2019-10-18 21:07:52 +07:00
Dmitriy Novozhilov
ecf98d3141
Regenerate tests forgotten in f19a8789
2019-10-18 16:03:41 +03:00
Toshiaki Kameyama
74970ddfeb
Introduce "Unused unary operator" inspection
...
#KT-12073 Fixed
2019-10-18 18:50:53 +07:00
Mikhail Glukhikh
79c0a69219
Add new FIR tests related to KT-31508 problems, replace failing MM testJava...Signature
2019-10-17 13:39:32 +03:00
Toshiaki Kameyama
89180e2650
Redundant companion reference: fix false positive with Java synthetic property
...
#KT-33771 Fixed
2019-10-17 17:17:44 +07:00
Toshiaki Kameyama
d72e55d1b7
Add "Make private and overrides member" quick fix for ACCIDENTAL_OVERRIDE
...
#KT-18536 Fixed
2019-10-17 17:08:03 +07:00
Vladimir Dolzhenko
30b98aaeb7
Keep attachments of cause exception in KotlinExceptionWithAttachments and provide elements in attachments in case of errors during kotlin idea resolution
...
Relates to EA-210942, EA-209622 etc
2019-10-17 10:22:32 +02:00
Nikolay Krasko
39f4a95278
Remove unregisterComponentByInstance usages that fails in 193
2019-10-17 11:19:13 +03:00
Nikolay Krasko
a743835011
193: Fix compilation because method replace in 193
2019-10-17 11:19:13 +03:00
Nikolay Krasko
da9a25fd21
Minor: remove useless overrides
2019-10-17 11:19:13 +03:00
Dmitry Gridin
92bfb2788e
idea: cleanup "Remove redundant qualifier name"
2019-10-17 14:30:25 +07:00
Dmitry Gridin
696b832a9c
RemoveRedundantQualifierInspection: fix false positive for enum/object
...
#KT-34113 Fixed
#KT-32965 Fixed
#KT-33991 Fixed
#KT-33597 Fixed
2019-10-17 14:30:25 +07:00
Toshiaki Kameyama
a4f805ccd0
"Redundant qualifier name": add tests for enum/object
...
Relates to #KT-34113
Relates to #KT-32965
Relates to #KT-33991
Relates to #KT-33597
2019-10-17 14:30:25 +07:00
Andrey Uskov
866ab51ce5
Work-around for importing intermediate android source sets
...
Fixed failure on import fully actualized intermediate source sets with K2Metadata compiler arguments (Android plugin expects compiler arguments of another type)
2019-10-17 10:26:36 +03:00
Andrey Uskov
aa6ff4b9da
Fix creation of common source roots if android plugin is involved
...
#KT-34237 Fixed
2019-10-17 10:26:28 +03:00
Andrey Uskov
a60cbef5d2
Do not build metadata dependency tree for platform source sets
2019-10-17 10:26:24 +03:00
Andrey Uskov
74f4a1357f
Do not create deep copy for MPP project is model is not a proxy
2019-10-17 10:26:22 +03:00
Andrey Uskov
f567df283e
Improved performance non-MPP projects import
...
#KT-32960 Fixed
2019-10-17 10:26:20 +03:00
Stanislav Erokhin
84aff5f630
Add some changes to introduced extension points
2019-10-17 04:41:29 +03:00
Jim
267287118b
Frontend plugins to upstream
...
Change-Id: Id9203c92d0a711e4f21565bd225a465bd41db476
2019-10-17 04:41:27 +03:00
Nikolay Krasko
fa44cab9dc
Extend compatibility for 193 branch to upcoming 201.* release
2019-10-16 13:03:58 +03:00
Dmitry Gridin
40c3e436d1
ShortenReferences: add test with lots of FqName with root prefix
2019-10-16 16:35:43 +07:00
Dmitry Gridin
bf7c325f43
Completion: should prefer ShortenReferences by elements instead of text range
2019-10-16 15:59:47 +07:00
Dmitry Gridin
2d43d71727
CompletionUtils: cleanup code
2019-10-16 15:59:47 +07:00
Dmitry Gridin
8161403e69
ShortenReferences: shouldn't analyze root prefix elements & should get rid of them at end
...
Relates to #KT-33937
2019-10-16 15:59:47 +07:00
Dmitry Gridin
aa364ea14e
KotlinIntroduceImportAliasHandler: fix PIEAE
2019-10-16 15:36:20 +07:00
Dmitry Gridin
d9faaddcca
delayedRequestsWaitingSet: performDelayedRefactoringRequests should commit all documents before refactoring
...
#KT-34365 Fixed
2019-10-16 15:36:00 +07:00
Dmitry Gridin
72eee17bff
delayedRequestsWaitingSet: cleanup code
2019-10-16 15:36:00 +07:00
Anton Yalyshev
1e921647fe
Bump FUS Collectors versions after last changes for proper data fetching
2019-10-15 16:15:10 +03:00
Yan Zhulanow
9c88a1f807
Debugger: Fix language detection in FUS
2019-10-15 22:06:45 +09:00
Dmitry Gridin
20eb3fb492
referenceUtil: fix matchesTarget for import alias
...
#KT-30012 Fixed
#KT-30432 Fixed
#KT-30736 Fixed
2019-10-14 21:45:12 +07:00
Dmitry Gridin
348d2376b1
referenceUtil: cleanup code
2019-10-14 21:45:12 +07:00
Dmitry Gridin
20784d50ff
CallableBuilder: fix PIEAE
...
#EA-214253 Fix
2019-10-14 21:45:12 +07:00
Dmitry Gridin
0ac2303fad
KotlinSuppressIntentionAction: fix PIEAE
...
#EA-214227 Fix
2019-10-14 21:45:12 +07:00
Dmitry Gridin
e3d9f05d28
KotlinSuppressIntentionAction: cleanup code
2019-10-14 21:45:11 +07:00
Dmitry Gridin
3832924bd7
KotlinMavenPluginPhaseInspection: fix potential PIEAE
2019-10-14 21:45:11 +07:00
Dmitry Gridin
1e81f9499a
KotlinMavenPluginPhaseInspection: cleanup code
2019-10-14 21:45:11 +07:00
Dmitry Gridin
a652a0f6b3
AddReifiedToTypeParameterOfFunctionFix: fix PIEAE
2019-10-14 21:45:11 +07:00
Dmitry Gridin
6898d437cf
AddConstModifierFix: fix PIEAE
...
#EA-214417 Fixed
2019-10-14 21:45:11 +07:00
Dmitry Gridin
bce2202ea3
LetImplementInterfaceFix: fix PIEAE
...
#EA-214415 Fixed
2019-10-14 21:45:11 +07:00
Dmitry Gridin
859537a38d
LetImplementInterfaceFix: cleanup code
2019-10-14 21:45:11 +07:00
Dmitry Gridin
2eb035aff2
generateUtil: fix PIEAE
...
#EA-142347 Fixed
2019-10-14 21:45:11 +07:00
Dmitry Gridin
87ac31d957
UsageReplacementStrategy: shouldn't catch ControlFlowException
2019-10-14 21:45:10 +07:00
Dmitry Gridin
585222b4bb
ScriptDefinitionsManager: shouldn't catch ControlFlowException
...
#EA-209928 Fixed
2019-10-14 21:45:10 +07:00
Dmitry Gridin
ee8e9a76f9
KtScratchExecutionSession: shouldn't catch ControlFlowException
...
#EA-210849 Fixed
2019-10-14 21:45:10 +07:00
Egor Ushakov
ea7f6dbd33
EA-208866 - IAE: SafeUtilKt.safeSourceName - fixed in platform
2019-10-14 12:55:18 +03:00
Dmitry Gridin
a24e229d7a
CreateExpectedFix: should generate expect declaration in selected module
...
#KT-33933 Fixed
2019-10-14 14:42:29 +07:00