Let's paint those bikesheds^Werror messages!
FoxyBrown via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 27 10:32:23 PDT 2017
On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev
wrote:
> As has been announced, DMD now has colorized syntax
> highlighting in error messages:
>
> http://forum.dlang.org/post/of9oao$230j$1@digitalmars.com
>
> With 2.075's release near, now would be a good time to decide
> on a nice color palette that looks fine on most terminals. So,
> please vote:
>
> https://github.com/dlang/dmd/pull/6943
>
> Obligatory:
> - Yes, not everyone likes colors. You can turn all colors off
> with a command-line switch.
> - Yes, everyone agrees that having all colors be configurable
> would be good. We still need defaults that are going to look OK
> on most terminals.
> - Yes, no matter what colors we choose, they're going to look
> bad on some terminal somewhere. Let's worry about the major
> platforms' most common terminals for now.
This will be a nightmare if you do not allow it to be
configurable! Hard coding anything is very bad when others are
will use it.
Make a default color scheme that works for the majority as you
are, but then allow it to be easily changed. E.g., it can read a
config file or passed through the command line(possibly different
color schemes can be selected). Do it right or suffer the
consequences!
More information about the Digitalmars-d
mailing list