mirror of https://github.com/sbt/sbt.git
Merge pull request #1313 from 2m/inspect-sort-keys
Sort setting key names in the inspect tree view
This commit is contained in:
commit
8d3efea45d
|
|
@ -45,7 +45,7 @@ case class SettingGraph(name: String,
|
||||||
} getOrElse { "" }
|
} getOrElse { "" }
|
||||||
|
|
||||||
def dependsAscii: String = Graph.toAscii(this,
|
def dependsAscii: String = Graph.toAscii(this,
|
||||||
(x: SettingGraph) => x.depends.toSeq,
|
(x: SettingGraph) => x.depends.toSeq.sortBy(_.name),
|
||||||
(x: SettingGraph) => "%s = %s" format (x.definedIn getOrElse { "" }, x.dataString))
|
(x: SettingGraph) => "%s = %s" format (x.definedIn getOrElse { "" }, x.dataString))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue