arduino / arduino/Arduino

Inconsistent display of C vs C++ style comments

Open
#11,602 1 comment 0 reactions 0 assignees View on GitHub
Component: IDE Type: Bug
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/965463/122648764-712d2300-d0df-11eb-8318-b9aab026849d.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the difference between /* */ and // comments in the editor window, using the screenshot and issue description as the reference. Trace the editor's syntax-highlighting settings for C and C++ comments; done means both comment styles display with a consistent gray level.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp, java
Domain
desktop, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.