Skip to content

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

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

Closed
3 tasks done
ghost opened this issue Sep 22, 2022 · 2 comments
Closed
3 tasks done

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

ghost opened this issue Sep 22, 2022 · 2 comments
Assignees
Labels
conclusion: duplicate Has already been submitted type: imperfection Perceived defect in any part of project

Comments

@ghost
Copy link

ghost commented Sep 22, 2022

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
@ghost ghost added the type: imperfection Perceived defect in any part of project label Sep 22, 2022
@per1234
Copy link
Contributor

per1234 commented Sep 22, 2022

Hi @Nch-MOSFET . Thanks for taking the time to submit an issue.

I see we have another report about this at #380.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2022
@per1234 per1234 added the conclusion: duplicate Has already been submitted label Sep 22, 2022
@per1234 per1234 self-assigned this Sep 22, 2022
@ghost
Copy link
Author

ghost commented Sep 22, 2022

Sorry, I couldn't find it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

1 participant