Skip to content

IntelliSense not working for Cloud sketches #2314

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

Open
3 tasks done
Tynopia opened this issue Dec 24, 2023 · 2 comments
Open
3 tasks done

IntelliSense not working for Cloud sketches #2314

Tynopia opened this issue Dec 24, 2023 · 2 comments
Labels
topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project

Comments

@Tynopia
Copy link

Tynopia commented Dec 24, 2023

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

image

Failing

Screenshot 2023-12-24 160733

Bad Completion

image

To reproduce

  1. Open the Arduino IDE.
  2. Create or open a Cloud Project.
  3. Attempt to use Code Completion features.
  4. Observe the Loading... state or inadequate Code Completion.

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

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@Tynopia Tynopia added the type: imperfection Perceived defect in any part of project label Dec 24, 2023
@per1234 per1234 added topic: language server Related to the Arduino Language Server topic: cloud Related to Arduino Cloud and cloud sketches labels Dec 25, 2023
@Tynopia
Copy link
Author

Tynopia commented Dec 26, 2023

It seems like there also might be an issue with the information reference or the ALT navigation.

image

@kittaakos
Copy link
Contributor

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, #1042 (comment) or Windows 11 Error: write EOF: undefined.

@kittaakos kittaakos removed the topic: cloud Related to Arduino Cloud and cloud sketches label Jan 15, 2024
@kittaakos kittaakos changed the title IntelliSense not working on Cloud Project IntelliSense not working Jan 15, 2024
@per1234 per1234 changed the title IntelliSense not working IntelliSense not working for Cloud sketches Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants