-
-
Notifications
You must be signed in to change notification settings - Fork 17
Windows and Linux issues collection #46
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
I've tested the new build and updated the issue, those that have been solved are marked clearly. These are new issues on Windows: |
Windows 10
|
I reported that one in the issues above, it's this one:
This happens because the LS must be restarted after adding includes otherwise they're ignored. |
Oops, I copy/pasted the wrong step text. The step that fails is "Verify WiFi101.h is shown in autocomplete window". I edited my comment above to show the correct text. The "Verify WiFi class is shown in autocomplete window" step works fine for me. |
If I declare a function
inside an
This happens both on Linux and Windows. |
I'm closing this in favor of dedicated issues in order to facilitate the maintenance, tracking, and support for these issues.
Now tracked in the dedicated issue: arduino/arduino-ide#670
The significant work done on the Arduino Language Server since the time this issue was created have fixed issues that caused these symptoms. It is possible there are still some that remain. If anyone is able to still reproduce the problem, please open an issue with instructions we can follow to reproduce it.
Now tracked in the dedicated issue: #98
I do get them now for files in the include search paths. The old manual testing test case still fails because the file is not in the include path due to requiring library discovery. For example, you won't get a suggestion for #include <Ethern
void setup() {}
void loop() {} Because the source folder of the Ethernet library is not in the default include search paths. However, you will get it for #include <Ethernet.h>
#include <EthernetCli
void setup() {}
void loop() {} The reason is that the I think the current capabilities for
I suspect it is the same issue that causes the symptom described here: arduino/arduino-ide#543 |
Windows specific issues:
Problems window shows outdated errors even after they have been solvedAutoformat doesn't workProblems windows shows error innot-ino
file:Including a new library doesn't restart the LS so definition in that header are not shown on autocomplete, selecting another board solves that since it forces a restart of the LS
The LS crashes often even with minimal output, this is probably caused by the fact that paths are escaped multiple times, see last lines of following log: inols-err.logSymbols likepinMode
,digitalWrite
anddelay
are not recognized by the LS, probably caused by escaping paths multiple times.Often errors are highlighted in the text editor but are shown in the Problems window, this might be caused by the escaping paths multiple times too.Both in Linux and Windows:
No output from the Arduino Language Server is shown but logs are still written to file in the sketch folder. After triggering output for some other reason, like installing a core, the LS output is shown.
Serial
is never autocompleted and not recognized as a known symbol.The text was updated successfully, but these errors were encountered: