sbt, the interactive build tool
Go to file
Guillaume Martres 15522a0cbe Add Problem#rendered to customize how problems are shown
Dotty has its own logic for displaying problems with the proper file
path, position, and caret, but if we store this information in
Problem#message we end up with duplicated information in the output
since Zinc will prepend/append similar things (see
sbt.internal.inc.ProblemStringFormats). So far, we worked around this in
Dotty by using an empty position in the sbt bridge reporter, but this
means that crucial semantic information that could be used by a Build
Server Protocol implementation and other tools is lost. This commit
allows us to avoid by adding an optional `rendered` field to `Problem`:
when this field is set, its value controls what the user sees, otherwise
we fallback to the default behavior (the logic to do this will be added to
Zinc after this PR is merged and a new release of sbt-util is made).
2018-08-28 03:58:15 +09:00
internal Add Problem#rendered to customize how problems are shown 2018-08-28 03:58:15 +09:00
project Upgrade to sbt 1.2.1 2018-08-13 01:03:08 +09:00
util-cache fix adapted argument warning 2018-06-11 13:11:51 +09:00
util-tracking clean up compiler warnings in util-tracking 2018-07-27 11:35:26 -05:00
.gitignore Add target/ to .gitignore 2016-04-07 12:47:36 +02:00
.java-version Scala 2.12 2016-12-22 11:59:00 -05:00
.scalafmt.conf Add, configure & enable Scalafmt 2017-08-10 11:44:24 +01:00
.travis.yml Add, configure & enforce sbt-whitesource 2018-01-11 13:57:15 +00:00
CONTRIBUTING.md Adds overrides for File-based caching 2017-04-17 10:24:54 -04:00
LICENSE Update CONTRIBUTING.md 2014-04-14 12:16:06 -04:00
NOTICE Update CONTRIBUTING.md 2014-04-14 12:16:06 -04:00
README.md Adds overrides for File-based caching 2017-04-17 10:24:54 -04:00
build.sbt Add Problem#rendered to customize how problems are shown 2018-08-28 03:58:15 +09:00

README.md

utility modules for sbt