Skip to content
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 gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pluginName = Doma Tools for IntelliJ
pluginRepositoryUrl = https://github.com/domaframework/doma-tools-for-intellij
pluginVersion = 2.1.2-beta

pluginSinceBuild=231
pluginSinceBuild=233

platformType = IC
platformVersion = 2024.3.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
package org.domaframework.doma.intellij.inspection.dao.processor.paramtype

import androidx.compose.compiler.plugins.kotlin.lower.fastForEachIndexed
import com.intellij.codeInspection.ProblemsHolder
import com.intellij.psi.PsiClassType
import com.intellij.psi.PsiType
Expand Down Expand Up @@ -64,7 +63,7 @@ class SqlProcessorParamTypeCheckProcessor(

val biFunctionClassType = (biFunctionParam.type as? PsiClassType)
val identifier = biFunctionParam.nameIdentifier ?: return
biFunctionClassType?.parameters?.fastForEachIndexed { index, param ->
biFunctionClassType?.parameters?.forEachIndexed { index, param ->
if (param == null || !checkBiFunctionParam(index, param)) {
ValidationMethodBiFunctionParamResult(
identifier,
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<depends>org.intellij.intelliLang</depends>
<depends>org.toml.lang</depends>
<depends optional="true" config-file="kotlin.xml">org.jetbrains.kotlin</depends>
<idea-version since-build="231"/>
<idea-version since-build="233"/>

<resource-bundle>messages.DomaToolsBundle</resource-bundle>
<resource-bundle>messages.LLMInstallerBundle</resource-bundle>
Expand All @@ -22,6 +22,7 @@
</projectListeners>

<extensions defaultExtensionNs="com.intellij">
<errorHandler implementation="com.intellij.diagnostic.JetBrainsMarketplaceErrorReportSubmitter"/>
<postStartupActivity implementation="org.domaframework.doma.intellij.setting.DomaToolStartupActivity"/>

<applicationService
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ class SqlSymbolDocumentTestCase : DomaSqlTest() {
return forDirective.elExprList.firstOrNull { it.text == searchElementName }
}

return fieldAccessExpr.accessElements.firstOrNull { it?.text == searchElementName }
val accesses = fieldAccessExpr.accessElements
return accesses.firstOrNull { it?.text == searchElementName }
}
}
Loading