We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2325ddf commit 70067e9Copy full SHA for 70067e9
src/main/kotlin/org/domaframework/doma/intellij/formatter/block/SqlFileBlock.kt
@@ -587,7 +587,15 @@ open class SqlFileBlock(
587
}
588
589
590
- is SqlDataTypeParamBlock, is SqlFunctionParamBlock -> return SqlCustomSpacingBuilder.nonSpacing
+ is SqlFunctionParamBlock -> {
591
+ return if (childBlock1?.node?.elementType in listOf(SqlTypes.FUNCTION_NAME, SqlTypes.WORD)) {
592
+ SqlCustomSpacingBuilder.nonSpacing
593
+ } else {
594
+ SqlCustomSpacingBuilder.normalSpacing
595
+ }
596
597
+
598
+ is SqlDataTypeParamBlock -> return SqlCustomSpacingBuilder.nonSpacing
599
600
601
0 commit comments