Skip to content

Commit 4bfb972

Browse files
committed
Merge branch 'chore/update-intellij-platform-sdk' into develop
- Fix issues caused by the use of deprecated APIs.
2 parents f5797e1 + 8ccf60e commit 4bfb972

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,17 @@
55
## [Unreleased]
66

77
### Added
8+
- Organize CodeXP configuration options by type for easier readability.
89

910
### Changed
1011

1112
### Removed
1213

14+
### Fixed
15+
- Fix plugin compatibility issue after IntelliJ IDEA version 2023.2
16+
17+
## [1.2.1] - 2023-07-19
18+
1319
### Fixed
1420
- Fix plugin initialization issue of CodeXP plugin at IDE startup
1521

@@ -41,7 +47,9 @@
4147
- Define events to detect and add challenges for each event
4248
- Implement notification alert feature for leveling up or completing challenges
4349

44-
[Unreleased]: https://github.com/ILoveGameCoding/intellij-codexp/compare/v1.2.0...HEAD
50+
[Unreleased]: https://github.com/ILoveGameCoding/intellij-codexp/compare/v1.2.1...HEAD
51+
52+
[1.2.1]: https://github.com/ILoveGameCoding/intellij-codexp/compare/v1.2.0...v1.2.1
4553

4654
[1.2.0]: https://github.com/ILoveGameCoding/intellij-codexp/compare/v1.1.0...v1.2.0
4755

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ pluginRepositoryUrl = https://github.com/ILoveGameCoding/intellij-codexp
77
pluginVersion=1.2.1
88

99
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
10-
pluginSinceBuild = 221
11-
pluginUntilBuild = 231.*
10+
pluginSinceBuild = 232
11+
pluginUntilBuild = 232.*
1212

1313
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
1414
platformType = IC
15-
platformVersion = 2022.1.4
15+
platformVersion = 2023.2
1616

1717
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
1818
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22

src/main/kotlin/com/github/ilovegamecoding/intellijcodexp/activities/CodeXPStartupActivity.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@ package com.github.ilovegamecoding.intellijcodexp.activities
22

33
import com.github.ilovegamecoding.intellijcodexp.services.CodeXPService
44
import com.intellij.openapi.application.ApplicationManager
5-
import com.intellij.openapi.diagnostic.thisLogger
65
import com.intellij.openapi.project.Project
76
import com.intellij.openapi.startup.StartupActivity
87

98
class CodeXPStartupActivity : StartupActivity {
109
override fun runActivity(project: Project) {
11-
thisLogger().warn("CodeXPStartupActivity.runActivity")
12-
val codeXPService = ApplicationManager.getApplication().getService(CodeXPService::class.java)
10+
ApplicationManager.getApplication().getService(CodeXPService::class.java)
1311
}
1412
}

src/main/kotlin/com/github/ilovegamecoding/intellijcodexp/toolWindow/CodeXPToolWindowFactory.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class CodeXPToolWindowFactory : ToolWindowFactory {
5353
initializeUI()
5454

5555
// Add the dashboard to the tool window
56-
val contentFactory = ContentFactory.SERVICE.getInstance()
56+
val contentFactory = ContentFactory.getInstance()
5757
val scrollPane = JBScrollPane(codeXPDashboardForm.pMain)
5858
val rootPanel = JPanel(BorderLayout())
5959
rootPanel.add(BorderLayout.CENTER, scrollPane)

0 commit comments

Comments
 (0)