www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17396] New: Colorize error messages emitted by dmd

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 puremagic.com
          Reporter: bugzilla 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.

--
May 13