Skip to content

Instantly share code, notes, and snippets.

val pprint2 =
pprint.copy(
additionalHandlers = {
case value: java.nio.file.Path =>
val v = pprint.Util.literalize(value.toString)
pprint.Tree.Apply(
"Paths.get",
Iterator(v).map(pprint.Tree.Literal.apply)
)
case value: scala.meta.inputs.Position.Range =>
{
"jadd": {
"repositories": [
"central"
],
"dependencies": [
"ru.d10xa::jadd:latest.stable"
]
},
"json-log-viewer": {