Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rif of IDE plugin dependencies #3073

Merged
merged 2 commits into from
Jul 17, 2023

Conversation

vmishenev
Copy link
Member

Everything in this commit has been copy-pasted from IDE plugin and marked as internal

Everything in this commit has been copy-pasted from IDE plugin and marked as internal

@Suppress("UNCHECKED_CAST")
val resolution = CompilerExtensionPointProvider.CompilerExtensionPoint(
Copy link
Member Author

@vmishenev vmishenev Jul 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In K1 IdePlatformKindResolution is used to configure global caches to analyze code for different platforms. It contains platform factories, they are used in IdeaResolverForProject and in the inheritors of ResolverForModuleFactory for different platforms to create some components for the frontend: biltins, package providers for Klib'as and fabrics for creating classes...
But IdeaResolverForProject is not used in Dokka,
KotlinCacheService we have our own stub,
ResolverForModuleFactory we have our own inheritors, where PlatformKindResolution is not called.

Copy link
Member

@IgnatBeresnev IgnatBeresnev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done 👍

@vmishenev vmishenev force-pushed the get-rid-of-ide-plugin-dependencies branch from 893a4b6 to 13a7629 Compare July 17, 2023 13:55
@vmishenev vmishenev merged commit 298065f into master Jul 17, 2023
11 of 12 checks passed
@vmishenev vmishenev deleted the get-rid-of-ide-plugin-dependencies branch July 17, 2023 14:33
IgnatBeresnev pushed a commit that referenced this pull request Jul 21, 2023
* Get rif of IDE plugin dependencies

Everything in this commit has been copy-pasted from IDE plugin and marked as internal

(cherry picked from commit 298065f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants