[Issue 12273] New: 'dmd -color' flag to colorize error/warning messages

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 27 12:26:52 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12273

           Summary: 'dmd -color' flag to colorize error/warning messages
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: timothee.cour2 at gmail.com


--- Comment #0 from Timothee Cour <timothee.cour2 at gmail.com> 2014-02-27 12:26:50 PST ---
clang and many other compilers have colorized error messages, it improves a lot
readability such as pinpointing where the error is etc. I suggest having 'dmd
-color' flag to colorize error/warning messages as well.

As we've seen with the recent introduction of '-vcolumns' flag, simple things
like this improve quite a bit the experience. 

This is trivial to implement on posix with terminal codes (I'm using it myself
for my own logging), and should be doable on windows as well
(SetConsoleTextAttribute?).

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list