Open Tynopia opened 10 months ago
It seems like there also might be an issue with the information reference or the ALT navigation.
Thanks for reporting it. I tested it with 2.2.1, and IntelliSense works fine with cloud sketches (on macOS).
This is a generic issue with the language server, not the cloud sketches—for example, https://github.com/arduino/arduino-ide/issues/1042#issuecomment-1577935224 or Windows 11 Error: write EOF: undefined.
Describe the problem
When working with the Arduino IDE on a Cloud Project, IntelliSense functionality is not functioning properly. While it works seamlessly in the local environment when a board is selected, the same is not true for Cloud Sketches. In the latter case, the Code Completion feature either performs poorly or fails to load altogether, irrespective of whether a board is selected or not.
In rare situations it works. I could not reproduce it for this issue, for example!
As soon as the code has been in the "Loading..." status for a long time, I get a error and only get bad code completion like in the picture below
Permanent loading
Failing
Bad Completion
To reproduce
Expected behavior
When working on a Cloud Project in the Arduino IDE, the Code Completion should function smoothly, providing relevant suggestions and not getting stuck in a perpetual loading state. The behavior should be consistent with the local environment, where selecting a board ensures proper Code Completion.
Arduino IDE version
2.2.1
Operating system
Windows
Operating system version
21H2
Additional context
No response
Issue checklist