www.digitalmars.com         C & C++   DMDScript  

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


          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

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 2017