-
-
Notifications
You must be signed in to change notification settings - Fork 431
Syntax coloring stops after long Strings #1723
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
Comments
Can you share a snippet? Maybe related #1614 |
You are perfectly right, this is a dupe :) |
750 is IMHO a fair value for perfomance vs. avoid this issue. In my case, it led to strange compiler behaviour vs. a minority have this long lines. Computers are fast nowadays. |
Syntax coloring and compilation are unrelated. Do you have a reproducible example, I am happy to look into it. |
No, not really reproducable (Just happend on one system).
After reinstall, it was fine again, so not worth your time to sort out. Ergo: Root cause for the IDE madness was, IMHO, that too long line, that's why i suggest 750 PS: I'll try to reproduce later and post a video, i can't share the source. |
The formatter might have bugs and makes compiler errors (#1674), but the formatter is not the same as the syntax coloring. I think we are talking about different things. Anyway, if you have a reproducible sketch you can share, please do it, and I check what's going on. |
I have a different question, a small one, dont want to open an issue and I dont find a discussion site in this repo: |
No need to: #437 ;)
This is very much likely the same issue as clangd/vscode-clangd#357, and it is not directly done by IDE2 but by the Arduino Language Server. We need to look into how to intercept and tweak the |
Describe the problem
I have Arduino IDE 2.0.2 and I have some long concatenated Strings. At the end of the String I can see that the Syntax Coloring stops working, all is brown now:
Here is the end of that string:
To reproduce
Create a very long string and see how the Syntax Coloring stops working after.
Expected behavior
It should still color variables etc.
Arduino IDE version
2.0.2
Operating system
Windows
Operating system version
10
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: