Konstantin Tskhovrebov
39e1f03cd1
Fix for 192: enable native run gutters only if gradle plugin exists.
...
Fixed #KT-39465
2020-06-10 15:58:45 +03:00
Nikolay Krasko
974e01ec70
Fix bunch files after moving plugin.xml
2020-06-10 13:01:20 +03:00
Nikolay Krasko
6babc73320
AS41: Fix problems with initialization of Android plugin in tests
...
org/intellij/images/fileTypes/ImageFileTypeManager
java.lang.NoClassDefFoundError: org/intellij/images/fileTypes/ImageFileTypeManager
at org.jetbrains.android.AndroidPlugin.lambda$registerWebpSupport$1(AndroidPlugin.java:50)
2020-06-10 13:01:20 +03:00
Nikita Bobko
ff7576f8e4
202: Fix compilation
2020-06-10 12:39:29 +03:00
Pavel Kirpichenkov
83144d59be
Fix tests
2020-06-10 10:58:42 +03:00
Konstantin Tskhovrebov
21f7cd5d8f
Add test for check expect/actual gutters at same module.
2020-06-09 16:28:28 +03:00
Konstantin Tskhovrebov
a6161c6f22
Fix expect/actual gutters for declarations in the same module.
...
Fixed #KT-33510.
2020-06-09 16:28:27 +03:00
Ilya Kirillov
3b422377d2
FIR IDE: move validation contract to analysis session base class
2020-06-09 16:20:26 +03:00
Ilya Kirillov
fb8acf8c1e
FIR IDE: add tests for call resolve
2020-06-09 16:20:26 +03:00
Ilya Kirillov
8ac0466ec2
FIR IDE: resolve constructors to correct CallInfo
2020-06-09 16:20:25 +03:00
Ilya Kirillov
87a65c0e4b
FIR IDE: throw PCE in highlighter & reference resolver if on EDT thread
...
As resolve is not allowed in EDT thread
2020-06-09 16:20:25 +03:00
Ilya Kirillov
19043537c1
FIR IDE: make API functions that returns types return non-null value
2020-06-09 16:20:24 +03:00
Ilya Kirillov
ee22d0b938
FIR IDE: introduce TypeInfo as a wrapper for types in high level API
...
Needed for correct handling types lifecycle
2020-06-09 16:20:24 +03:00
Ilya Kirillov
115327b967
FIR IDE: add validation contract to analysis session
...
This contract ensures that analysis session is used:
* in read action
* in non-EDT
* Project has not changed since the session was created
2020-06-09 16:20:23 +03:00
Ilya Kirillov
71b916ae8f
FIR IDE: rename AnalysisSessionFirImpl -> FirAnalysisSession
2020-06-09 16:20:20 +03:00
Ilya Kirillov
52a422350b
FIR IDE: always invalidate PSI -> FIR caches on any change
2020-06-09 16:20:14 +03:00
Ilya Kirillov
7ac48f441d
FIR IDE: remove enabled/disable FirResolution by registry
...
This separation is made based on plugins now
2020-06-09 16:20:07 +03:00
Ilya Kirillov
19d721d262
FIR IDE: mute not passing tests
2020-06-09 16:20:02 +03:00
Ilya Kirillov
d317ee1197
FIR IDE: move highlighting to fir ide module
...
As it doesn't use fir directly
2020-06-09 16:20:00 +03:00
Ilya Kirillov
a62c0e8163
FIR IDE: introduce fir lower level module
2020-06-09 16:19:58 +03:00
Ilya Kirillov
c1a62e2f05
Fix import optimizer test after reference classes rename
2020-06-09 16:19:57 +03:00
Ilya Kirillov
dbfa43a60a
FIR IDE: remove unneeded dependencies of idea-fir & idea-frontend-fir modules
2020-06-09 16:19:56 +03:00
Ilya Kirillov
1b8ea31172
FIR IDE: ignore not passing highlighting tests
2020-06-09 16:19:56 +03:00
Ilya Kirillov
65b22ebfa9
FIR IDE: improve search of containing declaration for getOrBuildFir
2020-06-09 16:19:55 +03:00
Ilya Kirillov
918e4ef7d0
FIR IDE: remove checker/duplicateJvmSignature tests for FIR as duplicate signature is not implemented for fir ide yet
2020-06-09 16:19:48 +03:00
Ilya Kirillov
00a271dd94
FIR IDE: Remove IGNORE_FIR from passing tests
2020-06-09 16:19:48 +03:00
Ilya Kirillov
c6ae916b24
FIR IDE: Fix tests in idea-fir
2020-06-09 16:19:47 +03:00
Ilya Kirillov
ba7e953760
FIR IDE: Introduce plugin.xml for fir ide
2020-06-09 16:19:45 +03:00
Ilya Kirillov
72175fc40e
Fix idea.xml
2020-06-09 16:19:45 +03:00
Ilya Kirillov
bd12b37353
FIR IDE: Move ApplicationUtils to frontend independent module
2020-06-09 16:19:44 +03:00
Ilya Kirillov
a4f8c6734c
FIR IDE: Introduce ide-frontend-independent.xml extensions
2020-06-09 16:19:43 +03:00
Ilya Kirillov
66d44162e9
FIR IDE: Move common caches related stuff from plugin-common.xml to caches.xml
2020-06-09 16:19:42 +03:00
Ilya Kirillov
3ca317e0ce
FIR IDE: Split resources to three folders which is needed for FIR plugin
...
The "resources" is common for both plugins,
while resources-descriptors & resources-fir belongs
to corresponding plugins
2020-06-09 16:19:39 +03:00
Ilya Kirillov
2290c32a83
FIR IDE: Move idea related stuff from plugin-common.xml to idea.xml
2020-06-09 16:19:33 +03:00
Ilya Kirillov
3e25375013
FIR IDE: Move jps related stuff from plugin-common.xml to jps.xml
2020-06-09 16:19:32 +03:00
Ilya Kirillov
2c0e14ba92
FIR IDE: Move index related stuff from plugin-common.xml to indexes.xml
2020-06-09 16:19:32 +03:00
Ilya Kirillov
e06f297499
FIR IDE: Move inspections from plugin-common.xml to inspections.xml
2020-06-09 16:19:31 +03:00
Ilya Kirillov
d46088548d
FIR IDE: Implement FIR reference resolve for some kinds of references
...
* implement for:
* KtForLoopInReference
* KtInvokeFunctionReference
* KtPropertyDelegationMethodsReference
* KtDestructuringDeclarationReference
2020-06-09 16:19:30 +03:00
Ilya Kirillov
30eab6c8a3
FIR IDE: Implement search of psi elements for deserialized Kotlin declarations
...
Fix "FIR IDE: Implement search of psi elements for deserialized Kotlin declarations"
2020-06-09 16:19:29 +03:00
Ilya Kirillov
a8b94b1cca
FIR IDE: Move some declarations highlighting to before resolve highlighting pass
2020-06-09 16:19:28 +03:00
Ilya Kirillov
f37e313705
FIR IDE: Begin implementing semantic highlighting via FIR
...
* Introduce frontend api module & implement api for FIR
* Implement some basic declaration highlighting for FIR
2020-06-09 16:19:27 +03:00
Ilya Kirillov
6a4fa8de9d
FIR IDE: Move base part of highlighting to frontend-independent-module
2020-06-09 16:19:25 +03:00
Ilya Kirillov
77550186ad
FIR IDE: Move KDoc Reference & mainReference to frontend-independent module
2020-06-09 16:19:18 +03:00
Ilya Kirillov
45ef0e1b50
FIR IDE: Move fir resolving functionality from idea module to idea-frontend-fir
2020-06-09 16:19:14 +03:00
Ilya Kirillov
003827a4f2
FIR IDE: Start IDEA FIR plugin
2020-06-09 16:19:13 +03:00
Ilya Kirillov
418903e9ef
FIR IDE: Make KtReference class descriptors frontend independent
...
* The new idea-frontend-independent module created
* Moved KtReference and it inheritors to that module & implement them in idea-analysis module by using descriptors frontend
2020-06-09 16:19:12 +03:00
Vladimir Ilmov
50165397c7
(CoroutineDebugger) flaky test coroutine-debug library changed to 1.3.4
2020-06-08 22:54:09 +02:00
Andrei Klunnyi
6485869659
AbstractKotlinCodeVisionProviderTest has no test methods actually
2020-06-08 13:54:37 +02:00
Konstantin Tskhovrebov
c3802891fc
Hide commonizer import error message for unsupported kotlin plugin.
2020-06-08 13:11:08 +03:00
Vladimir Ilmov
9719391c82
(PerformanceTest) improvements in profiler snapshots
...
support for typing per inspection tests
gradle arguments fixed to allow running tracing from cli
Profiler disabled for warmup phases.
relates to #KT-38653
2020-06-08 09:05:24 +02:00