[Issue 17396] New: Colorize error messages emitted by dmd

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat May 13 11:22:34 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17396

          Issue ID: 17396
           Summary: Colorize error messages emitted by dmd
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: bugzilla at digitalmars.com

Some basic colorization has already been implemented as the solution to
https://issues.dlang.org/show_bug.cgi?id=12273

But we can go further with that by taking inspiration from Ddoc. In
verrorPrint(), the message string can be scanned for text enclosed by `...`.
This text can then be syntax color highlighted analogously to the way Ddoc does
it. This should nicely improve the look of error messages.

--


More information about the Digitalmars-d-bugs mailing list