Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax::diagnostics: Color the ^~~~ in green for better visibility #7230

Merged
merged 1 commit into from
Jun 22, 2013
Merged

syntax::diagnostics: Color the ^~~~ in green for better visibility #7230

merged 1 commit into from
Jun 22, 2013

Conversation

Blei
Copy link
Contributor

@Blei Blei commented Jun 19, 2013

Fixes #7164.

@bblum
Copy link
Contributor

bblum commented Jun 19, 2013

Wouldn't it be nicer to colour it corresponding to whatever the diagnostic message is? Green for note, yellow for warning, red for error.

@Blei
Copy link
Contributor Author

Blei commented Jun 19, 2013

At the moment this patch emulates the coloring that clang does. I personally don't care either way, as long as it's colored somehow :)

@emberian
Copy link
Member

@Blei I'd like to see the caret the color of the diagnostic, and the squiggly be colored white.

@emberian
Copy link
Member

(I mean as long as we're going fancy we might as well go fancy)

@huonw huonw mentioned this pull request Jun 22, 2013
@graydon
Copy link
Contributor

graydon commented Jun 22, 2013

closing this out due to the bors madness. please re-open, it's not landed.

@graydon graydon closed this Jun 22, 2013
@thestinger thestinger reopened this Jun 22, 2013
thestinger added a commit that referenced this pull request Jun 22, 2013
syntax::diagnostics: Color the ^~~~ in green for better visibility
@thestinger thestinger merged commit 69e0704 into rust-lang:master Jun 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Coloring for affected code underlining in the terminal ^~~~~~
6 participants