stefanem
11/22/2023, 3:00 PMstefanem
11/22/2023, 3:01 PMLevi
11/27/2023, 8:31 PM.kts
files for me. Is it not supposed to be able to?Ali Naqvi
12/18/2023, 5:35 PMJavier
03/28/2024, 11:53 AMNivaldo H Bondança
05/03/2024, 1:41 PMsnowe
06/11/2024, 4:52 PMTrey
06/17/2024, 5:06 PMgit diff --name-only --cached
to the pre-commit script?snowe
06/17/2024, 8:50 PMblah(
name = a.b.c.d.e.f.g.h
)
is going to break at any point? It seems that this is partially handled by breaking the expression into parts and then grouping, but I don’t understand the grouping. Also the doc comments are quite confusing in places. or here where I’m confused as to what the groupings actually accomplish. Why is a paired with b, but c is paired with d, with no group between b and c?Robin Pokorný
07/05/2024, 8:16 AMchristophsturm
07/17/2024, 2:32 PMthrow OrmException(
"error binding parameter"
)
to
throw OrmException(
"error binding parameter")
putting the closing bracket on the same line. is that documented somewhere?christophsturm
08/07/2024, 10:51 AMseb
08/07/2024, 4:51 PMseb
08/08/2024, 10:39 AMNivaldo H Bondança
08/13/2024, 1:04 PMbuild.gradle
/ pom.xml
)Nivaldo H Bondança
08/14/2024, 1:40 PMNivaldo H Bondança
08/14/2024, 2:10 PMchristophsturm
09/18/2024, 7:24 AMivanmorgillo
09/18/2024, 3:45 PMivanmorgillo
09/18/2024, 3:46 PMseb
09/18/2024, 4:15 PMivanmorgillo
09/18/2024, 4:15 PMChris Lee
09/18/2024, 9:34 PMfun canonicalText(importDirective: KtImportDirective) =
importDirective.importedFqName?.asString() +
" " +
importDirective.alias?.text?.replace("`", "") +
" " +
if (importDirective.isAllUnder) "*" else ""
val sortedImports = importList.imports.sortedBy(::canonicalText).distinctBy(::canonicalText)
GreyhairRedbear
09/19/2024, 7:16 PMreturn code.replaceRange(
importList.startOffset,
importList.endOffset, importsWithComments.joinToString(separator = "\n") { imprt -> imprt.text } + "\n")
(Sorry if the formatting is messed up there, currently on mobile)
Adding \n
instead of something like System.lineSeparator()
seems a bit suspicious to me.GreyhairRedbear
09/19/2024, 7:18 PMChris Lee
09/20/2024, 12:10 AMivanmorgillo
11/25/2024, 2:50 PMJavier
11/28/2024, 11:12 AMGopal S Akshintala
03/12/2025, 11:49 AMerror: Expecting an expression
. Is this a known issue?
Sample project to replicate where it's configured through spotless: DynamicVariableGenerator.ktseb
05/01/2025, 5:26 PM