Skip to content

Commit dafb38c

Browse files
committed
chore: sync change notes to 1.41
1 parent d99ceab commit dafb38c

File tree

3 files changed

+5
-38
lines changed

3 files changed

+5
-38
lines changed

src/main/kotlin/org/tabooproject/development/inlay/LangFoldingBuilder.kt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,22 +125,18 @@ class LangFoldingBuilder : FoldingBuilderEx(), DumbAware {
125125
val calleeText = callExpression.calleeExpression?.text ?: return false
126126

127127
// 直接调用sendLang
128-
if (calleeText == "sendLang") {
128+
if (calleeText == "sendLang" || calleeText == "asLangText") {
129129
return true
130130
}
131131

132132
// 处理 player.sendLang 这种模式
133-
if (calleeText.endsWith(".sendLang")) {
133+
if (calleeText.endsWith(".sendLang") || calleeText.endsWith(".asLangText")) {
134134
return true
135135
}
136136

137137
// 处理其它可能的sendLang调用方式
138138
val dotIndex = calleeText.lastIndexOf('.')
139-
if (dotIndex > 0 && calleeText.substring(dotIndex + 1) == "sendLang") {
140-
return true
141-
}
142-
143-
return false
139+
return dotIndex > 0 && (calleeText.substring(dotIndex + 1) == "sendLang" || calleeText.substring(dotIndex + 1) == "asLangText")
144140
}
145141

146142
/**

src/main/resources/META-INF/plugin.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@
2727
<strong>v1.41</strong>
2828
<ul>
2929
<li>Full compatibility with Kotlin K2 compiler</li>
30-
<li>Updated for IntelliJ IDEA 2024.3+ compatibility</li>
31-
<li>Enhanced code analysis performance</li>
32-
<li>Improved stability with latest Kotlin versions</li>
33-
<li>Migrated to IntelliJ Platform Gradle Plugin 2.0</li>
30+
<li>Refactor new project wizard setup</li>
31+
<li>Added TabooLib i18n support</li>
3432
</ul>
3533
]]></change-notes>
3634

src/main/resources/inspectionDescriptions/DatabaseWorkspace.html

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)