-
-
Notifications
You must be signed in to change notification settings - Fork 445
Correct files are marked as faulty (red) in the file explorer #462
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
Thanks for your report @Lorandil. There have been some recent improvements to the Arduino Language Server that provides this capability in the IDE. These improvements are available from the latest release of the Arduino IDE. Please try again with the latest build of the Arduino IDE and let us know whether or not the bug is fixed for you. |
Thanks for your quick feedback @Lorandil! So that I can try to better replicate your environment, which version of the "Arduino AVR Boards" platform do you have installed? It will be shown in Boards Manager. |
I have the following boards installed: Arduboy home made package V1.2.9 Phew, I should clean up ;) |
Yay - the problem is gone with the rc2-nightly.20211218 - thank you so much! Because the error highlighting turned usable now, I was even able to fix a nasty bug that has been haunting me (variable declaration in 'case' without a block {} caused the rest of the 'case' list to be skipped - shouldn't this be a compile time bug?)! Well done!!! [If nobody has done anything to fix this, I should add, that I updated all my installed boards to the latest versions] |
Correction :( Edit: |
I'm very glad to hear it. Thanks for taking the time to update the issue. I'll go ahead and close it as resolved. If anyone runs into the problem again later, you can comment here with the details and I'll investigate.
It is normally, but the "Arduino AVR Boards" and "Arduino megaAVR Boards" platforms use the The potential for harm from the decision to use |
In many of my projects many ino/cpp/h files are marked red in the file explorer shortly after loading.
If I open the red files ,I see red curls under some includes, declaration, comments, etc...
As a board "Leonardo" was selected, but I have similar results with different boards.
To reproduce:
Does typing '#include' trigger/disable some Arduino IDE specific magic?
The text was updated successfully, but these errors were encountered: