Skip to content

Commit a4253df

Browse files
committed
Update to build 241.*
1 parent 86d9f39 commit a4253df

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
- Add inspection and quick fix for unused local variables.
88
- Add varchook to valid types.
99

10+
### Changed
11+
- Update to IntelliJ 2024.1.
12+
1013
## [1.5.0] - 2023-11-27
1114

1215
### Added

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ pluginName = intellij-runescript
33
pluginRepositoryUrl = https://github.com/waleedyaseen/intellij-runescript
44
pluginVersion = 1.5.0
55

6-
pluginSinceBuild = 232
7-
pluginUntilBuild = 233.*
6+
pluginSinceBuild = 233
7+
pluginUntilBuild = 241.*
88

99
platformType = IC
10-
platformVersion = 2023.2.2
10+
platformVersion = 2023.3.4
1111

1212
platformPlugins = com.intellij.java
1313

14-
gradleVersion = 8.2.1
14+
gradleVersion = 8.6.0
1515

1616
kotlin.stdlib.default.dependency = false
1717
org.gradle.configuration-cache = true

src/main/kotlin/io/runescript/plugin/ide/codeInsight/intention/controlFlow/RsMergeIfAndIntention.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class RsMergeIfAndIntention : BaseElementAtCaretIntentionAction() {
1717
return RsBundle.message("intention.merge.if.and.name")
1818
}
1919

20-
override fun invoke(project: Project, editor: Editor?, element: PsiElement) {
20+
override fun invoke(project: Project, editor: Editor, element: PsiElement) {
2121
val ifStmt = element.parent as RsIfStatement
2222
val trueStmt = ifStmt.trueStatement.toSingleStatement() as RsIfStatement
2323
val leftParen = (ifStmt.expression?.precedence ?: 0) > PRECEDENCE_LOGICAL_AND
@@ -45,7 +45,7 @@ class RsMergeIfAndIntention : BaseElementAtCaretIntentionAction() {
4545

4646
}
4747

48-
override fun isAvailable(project: Project, editor: Editor?, element: PsiElement): Boolean {
48+
override fun isAvailable(project: Project, editor: Editor, element: PsiElement): Boolean {
4949
val ifStmt = element.parent
5050
if (ifStmt !is RsIfStatement) {
5151
return false

0 commit comments

Comments
 (0)