Nivaldo Bondança
Nivaldo Bondança
We have them on the latest releases (v0.47+)
BTW this happens because of the line break. If there were no line breaks it would be placed on a single line ``` val EMPTY: VeryVeryLongCustomInterface = VeryVeryLongCustomInterface { EndResult...
As this is a debated feature (no consensus we should pursue it within the ktfmt internal group) we have no intention of changing things regarding this.
@nreid260 are we there yet or are there still issues to be resolved? What do you think about we create a new issue to track it, so it's clearer what...
I'll close this now (as it's old) assuming you agree with me, but feel free to reopen in case you think we should keep this issue around to track things,...
Currently (v0.49) it formats to this: ``` VeryLongNamedServiceMocker.whenever(VeryLongNamedServiceMocker.Method.FunctionName).thenRespond< LongType> { // do a thing } ``` Yeah, I agree that we could do better here
As of v04.7 ``` package foo.bar import com.google.mu.util.graph.ShortestPath import java.util.stream.Stream import kotlin.streams.asSequence fun main(args: Array) { val start = 1.0 val end = 3.0 val path = ShortestPath.unweightedShortestPathsFrom(start) { Stream.of(2.0,...
This looks fixed as of v0.47, since it formats: ``` """This string has approximately eighty-four characters which means trimMargin overruns""".trimMargin() ``` to ``` """This string has approximately eighty-four characters which...
Closing as stale. Please reopen if you want to continue the discussion/request
v0.49 gets us this: ``` val result = sequence(Person("alice", 25), Person("bob", 20), Person("charlie", 30)).ktMap( "MapExtractName") { it.name } val foo = aCall(withALongParameter) .anotherChainedCall(withAnotherLongParameter) .andAnother() .arrayHere[100] .apply { // something }...