Skip to content

Commit 6384b39

Browse files
committed
Use IntelliJ Ultimate 2025.2.5 for build
1 parent 9d3a07c commit 6384b39

File tree

5 files changed

+10
-14
lines changed

5 files changed

+10
-14
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ build
66
.idea/modules
77
.idea/workspace.xml
88
.idea/misc.xml
9-
.idea/kotlinc.xml
9+
.idea/kotlinc.xml
10+
.idea/shelf

build.gradle.kts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,7 @@ dependencies {
5151
create(providers.gradleProperty("platformType"), providers.gradleProperty("platformVersion"))
5252

5353
// Compose support dependencies
54-
bundledModules(
55-
"intellij.libraries.skiko",
56-
"intellij.libraries.compose.foundation.desktop",
57-
"intellij.platform.jewel.foundation",
58-
"intellij.platform.jewel.ui",
59-
"intellij.platform.jewel.ideLafBridge",
60-
"intellij.platform.compose"
61-
)
54+
composeUI()
6255

6356
// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
6457
bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',') })

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ pluginVersion = 2.1.0
1010
pluginSinceBuild = 252
1111

1212
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
13-
platformType = IC
14-
platformVersion = 2025.2.1
13+
platformType = IU
14+
platformVersion = 2025.2.5
1515

1616
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
1717
# Example: platformPlugins = com.jetbrains.php:203.4449.22, org.intellij.scala:2023.3.27@EAP

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ skikoAwtRuntimeAll = "0.9.22"
1010

1111
# plugins
1212
changelog = "2.2.1"
13-
intelliJPlatform = "2.7.0"
13+
intelliJPlatform = "2.10.5"
1414
kotlin = "2.1.20"
1515

1616
[libraries]

src/main/kotlin/org/jetbrains/plugins/template/toolWindow/ComposeSamplesToolWindowFactory.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ComposeSamplesToolWindowFactory : ToolWindowFactory, DumbAware {
3636
)
3737
Disposer.register(toolWindow.disposable, viewModel)
3838

39-
toolWindow.addComposeTab("Weather App") {
39+
toolWindow.addComposeTab("Weather App", focusOnClickInside = true) {
4040
LaunchedEffect(Unit) {
4141
viewModel.onReloadWeatherForecast()
4242
}
@@ -57,6 +57,8 @@ class ComposeSamplesToolWindowFactory : ToolWindowFactory, DumbAware {
5757
)
5858
Disposer.register(toolWindow.disposable, viewModel)
5959

60-
toolWindow.addComposeTab("Chat App") { ChatAppSample(viewModel) }
60+
toolWindow.addComposeTab("Chat App", focusOnClickInside = true) {
61+
ChatAppSample(viewModel)
62+
}
6163
}
6264
}

0 commit comments

Comments
 (0)