Ilya Gorbunov
d2aae67e03
Replace kotlin-test project dependencies in the project
...
Use dependency helper function that chooses whether to take them
from the bootstrap repository or from a configuration of kotlin-test
KT-61969
2023-12-13 15:40:25 +00:00
Ilya Kirillov
5f5daa0e06
[Decompiler] rename :analysis:decompiled:native -> :analysis:decompiled:decompiler-native
...
to avoid possible name clashes between different
Gradle subprojects with the same name.
see https://github.com/gradle/gradle/issues/16986
2023-11-10 06:41:03 +00:00
Ilya Kirillov
7c6870f8d2
[Analysis API Standalone] index .knm files in KotlinStaticDeclarationProvider
...
so `FirSymbolNamesProvider` can know about them
^KT-62910
2023-11-10 06:41:03 +00:00
Alexander.Likhachev
6eaccc997f
[Build] Fix the typo junit jupyter -> jupiter
2023-09-06 22:47:34 +00:00
Alexander.Likhachev
6f96be0b76
[Build] Get rid of the testApiJUnit5 method
...
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00
Yan Zhulanow
0f6f22d76b
[Analysis API] Add API for code compilation
...
The API replaces 'KotlinCompilerIde' in the IntelliJ IDEA plugin.
Code moved to Analysis API as its K2 implementation severely depends on
the internal compiler API (FIR).
The API is going to be used in the JVM debugger evaluator, and in
the Bytecode Tool Window.
In this commit, only ordinary Kotlin are supported.
In later commits, there will be also support for 'KtCodeFragment' files,
as well as some test coverage.
2023-07-27 10:23:42 +00:00
Anna Kozlova
4d97e4c572
[LL] add tests for FirDeclarationForCompiledElementSearcher
...
build stub if was not able to load:
expected that in IDE stubs would always be found in the index, for tests -
build from virtual file
2023-06-07 21:00:26 +00:00
Ilya Kirillov
1eb0862820
[Analysis, build] replace testApi -> testImplementation in build.gradle.kts where it's possible
2023-06-02 09:16:47 +00:00
Ilya Kirillov
2d08d29dac
[Java Resolution] use a smart psi pointer to store PSI in JavaElement for IDE
...
`JavaElement`s are reused between read actions, so underlying PSI elements might be invalidated when using hard PSI references
^KT-58194 fixed
2023-05-31 13:01:19 +00:00
Ilya Kirillov
ee1fd9f6e9
[Analysis API] optimize composite scope
...
Do not create KtCompositeScope for empty or single scopes
2023-05-19 11:53:15 +00:00
Nikita Bobko
2a4f3f41aa
2/5 Replace source dependency on kotlin-reflect with binary dependency
...
Review: https://jetbrains.team/p/kt/reviews/6753
Meaningful semantic change was splitted into 5 commits to simplify the
change review. Sinle commit would be too big.
Why replace source to binary: to get rid of kotlin-reflect in Kotlin
plugin artifact KTIJ-22276
Note: Kotlin Maven artifacts (./gradlew publish) changed their
dependency on kotlin-reflect
2022-08-22 15:43:49 +02:00
Ilya Kirillov
c95ac9f845
[Analysis API] add some basic tests for symbol substitution
2022-06-22 09:31:42 +02:00
Ilya Kirillov
4bd7fed1ea
[analysis api, test] rework test infrastructure, add multimodule tests
2022-04-13 12:53:01 +02:00
Ilya Kirillov
1e5cf80278
[analysis api, refactoring] move base test cases to base modules, improve service names
2022-04-13 12:53:00 +02:00
Ilya Kirillov
3838552a75
[analysis api] move some test framework parts to a separate module
2022-04-13 12:52:55 +02:00
Mads Ager
a398f7d6cb
Rename kt-reference module to kt-references.
2022-02-07 15:01:24 +01:00
Mads Ager
6f0bb0eda5
Add analysis:kt-reference module and move KtReferences there.
2022-02-07 15:01:23 +01:00
Vyacheslav Gerasimov
f7a9065b75
Build: Use intellij maven repo instead of downloaded IDEA
...
#KTI-82
2021-12-16 21:48:23 +03:00
Ilya Kirillov
19dec92247
Analysis API: rework declaration renderer
...
- refactor code to use PrettyPrinter instead of ad-hoc one
- do not print nested local declarations as this does not seem to have use-cases
2021-12-02 20:09:18 +01:00
Yan Zhulanow
e2c9be0932
[FIR IDE] Extract common components of the Analysis API to separate modules
2021-10-20 19:41:23 +03:00