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

Inconsistent display of C vs C++ style comments #11602

Open
PaulStoffregen opened this issue Jun 19, 2021 · 1 comment
Open

Inconsistent display of C vs C++ style comments #11602

PaulStoffregen opened this issue Jun 19, 2021 · 1 comment
Labels

Comments

@PaulStoffregen
Copy link
Sponsor Contributor

Syntax highlighting in the editor window is showing C-style /* */ comments with light gray, but C++ style // comments appear with a much darker gray. I don't know which is correct, but they should probably be consistent, right?

Screen Shot 2021-06-19 at 9 12 04 AM

@per1234
Copy link
Collaborator

per1234 commented Jun 19, 2021

It looks like this was done intentionally in 501333a

501333a#diff-c954335f344ba7da4a2fc3ebaebfc5e923b90037b4d2a686856b49e8cff703e9L98

- editor.comment1.style = #7e7e7e,plain
- editor.comment2.style = #7e7e7e,plain
+ editor.comment1.style = #434F54,plain
+ editor.comment2.style = #95a5a6,plain

501333a#diff-c954335f344ba7da4a2fc3ebaebfc5e923b90037b4d2a686856b49e8cff703e9R7

#COMMENTS // COLOR			#95A5A6 - LIGHT GREY
#COMMENTS /**/ COLOR		#434F54	- DARK GREY

but there is no indication of the reasoning for making them different colors. @agdl do you know why it was done?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants