Skip to content

some functions and constants doesn't colored like Arduino IDE 1.x #1485

Closed as not planned
@ghost

Description

Describe the problem

some functions and constants doesn't colored like Arduino IDE 1.x

image

sizeof and OUTPUT must be coloed as light blue

the below image shows a same code in Arduino IDE 1.8.13

image

To reproduce

I used this code

uint8_t pins[] = {1, 2, 3, 4, 5};

void setup() {
  for(uint8_t i = 0; i < sizeof(pins); i++) {
    pinMode(pins[i], OUTPUT);
  }
}

void loop() {}

Expected behavior

The display of functions and constants should be the same as in the previous IDE

Arduino IDE version

2.0.0

Operating system

Windows

Operating system version

Windows 10 Pro 21H1

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions