-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
Increase editor.maxTokenizationLineLength
standard value to minimum 750
#1614
Comments
Hi @CptHolzschnauz. Thanks for your report.
This is an intentional limit. The line length at which this occurs was recently reduced: It is possible to configure this via the advanced settings. I'll provide instructions:
Please note that it was reduced for a good reason: #1343
Please provide a minimal sketch that demonstrates the problem.
Please provide a complete minimal sketch that demonstrates the problem. The sketch you provided is not valid code, so it is expected that it won't compile.
This bug is being tracked here: #449 |
I set it to 750 and i suggest to use this as a new standard value. I can feel NO difference in the perfomance.
This problem is solved with the solution described above
I can't. It's happen only with my megasketch (245240 Bytes). After Autoformat, compiler says he can't find a included library. Strange is also that the compiler warnings are in german while the IDE is set to english. Something is rotten in tokenization/autoformatting/feeding the compiler. Sorry that i can't provide a proper error description, that behaviour is too flaky to describe. |
editor.maxTokenizationLineLength
value
Since it is not actionable based on the limited information we have, I will dedicate this issue exclusively to your request that the default
Thanks for bringing this to our attention. I have submitted a dedicated report for it: #1636 In the future, please, please submit a separate report for each distinct issue. These rambling issues are very difficult to manage and make it likely we will lose track of one of the things that were reported. |
editor.maxTokenizationLineLength
valueeditor.maxTokenizationLineLength
standard value to minimum 750
After reinstallation the issues with the IDE was gone. |
Hi @CptHolzschnauz.
I'm glad it is working now.
If you close the issue, it will not be possible for us to track your proposal. So I will reopen it for you. |
This comment was marked as off-topic.
This comment was marked as off-topic.
FYI: The strange behaviour i observed returned also with the new installed IDE. Out of a sudden no compiling, can't find lib, the 1.8 IDE compiles fine the same sketch, reopen in IDE 2 eveything is fine. Can't say why, can't reproduce. Only hint - it's a large sketch of 212 kB. |
Describe the problem
Sketch with a long line leads to strange behaviour in the IDE.
In a long line of code, after character +/- 500 the IDE stops coloring:
In some cases, following lines are also not highlighted:
To reproduce
Put that sketch snippet in the IDE, around col 500 the effect starts:
Expected behavior
Arduino IDE version
2.0.1
Operating system
macOS
Operating system version
12
Issue checklist
The text was updated successfully, but these errors were encountered: