Skip to content

IntelliJ 2025.2 #218

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

Merged
merged 16 commits into from
Aug 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/run-idea-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
fail-fast: false
matrix:
ide: [ IC, IU, AI ]
build: [ 251 ]
build: [ 252 ]
name: ${{ format('{0}-{1}', matrix.ide, matrix.build) }}
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {

allprojects {
group = "com.rickclephas.kmp"
version = "1.0.0-ALPHA-45-kotlin-2.2.20-Beta1"
version = "1.0.0-ALPHA-45-idea-2025.2"
}

apiValidation {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
kotlin = "2.2.20-Beta1"
kotlin-idea = "2.2.0-ij251-78"
kotlin-idea = "2.2.20-dev-5812"
kotlinx-coroutines = "1.10.1"
kotlinx-binary-compatibility-validator = "0.16.3"
ksp = "2.2.20-Beta1-2.0.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
public final class com/rickclephas/kmp/nativecoroutines/idea/compiler/extensions/KmpNativeCoroutinesCompilerPluginProvider : org/jetbrains/kotlin/idea/fir/extensions/KotlinBundledFirCompilerPluginProvider {
public fun <init> ()V
public fun provideBundledPluginJar (Lcom/intellij/openapi/project/Project;Ljava/nio/file/Path;)Ljava/nio/file/Path;
public fun provideBundledPluginJar (Ljava/nio/file/Path;)Ljava/nio/file/Path;
}

public final class com/rickclephas/kmp/nativecoroutines/idea/compiler/extensions/KmpNativeCoroutinesStorageComponentContainerContributor : org/jetbrains/kotlin/extensions/StorageComponentContainerContributor {
Expand Down
7 changes: 3 additions & 4 deletions kmp-nativecoroutines-idea-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ kotlin {

dependencies {
intellijPlatform {
intellijIdeaCommunity("2025.1")
intellijIdeaCommunity("2025.2")

bundledPlugins("org.jetbrains.kotlin", "com.intellij.gradle")

Expand All @@ -52,8 +52,8 @@ intellijPlatform {
""".trimIndent()

ideaVersion {
sinceBuild = "251"
untilBuild = "251.*"
sinceBuild = "252"
untilBuild = "252.*"
}

vendor {
Expand Down Expand Up @@ -110,7 +110,6 @@ val runIntelliJUltimate by intellijPlatformTesting.runIde.registering {

val runAndroidStudio by intellijPlatformTesting.runIde.registering {
type = IntelliJPlatformType.AndroidStudio
version = "2024.3.2.11"
}

tasks.withType(RunIdeTask::class) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ internal class RemoveAnnotationFixFactory(
val diagnosticFactory = diagnosticFactories.firstOrNull { it == diagnostic.factory } ?: return null
val annotationEntry = diagnosticFactory.cast(diagnostic).psiElement as? KtAnnotationEntry ?: return null
val annotationName = annotationEntry.shortName?.identifierOrNullIfSpecial ?: return null
return RemoveAnnotationFix("Remove @$annotationName annotation", annotationEntry)
return RemoveAnnotationFix("Remove @$annotationName annotation", annotationEntry).asIntention()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ internal class RemoveAnnotationFixFactory(
if (diagnosticFactories.none { it.name == diagnostic.factoryName }) return@IntentionBased emptyList()
val annotationEntry = diagnostic.psi as? KtAnnotationEntry ?: return@IntentionBased emptyList()
val annotationName = annotationEntry.shortName?.identifierOrNullIfSpecial ?: return@IntentionBased emptyList()
listOf(RemoveAnnotationFix("Remove @$annotationName annotation", annotationEntry))
listOf(RemoveAnnotationFix("Remove @$annotationName annotation", annotationEntry).asIntention())
}
}
Loading