Skip to content

Editor complaining when there is nothing wrong #582

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

Closed
timchpi opened this issue Oct 30, 2021 · 1 comment · Fixed by #610
Closed

Editor complaining when there is nothing wrong #582

timchpi opened this issue Oct 30, 2021 · 1 comment · Fixed by #610
Assignees
Labels
conclusion: resolved Issue was resolved topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project

Comments

@timchpi
Copy link

timchpi commented Oct 30, 2021

Describe the bug
Sometimes the editor complains when the code is ok(and compiles just fine)

To Reproduce
This is a screenshot for when I am using STM32duino, STM32F4.
image

Expected behavior
The editor should not complain when there is no issue

Desktop (please complete the following information):
Windows 10

Additional context
Also sometimes autocomplete takes like 5 minutes to show up? When I hit control + space it just goes loading for a long time.

@timchpi timchpi added the type: imperfection Perceived defect in any part of project label Oct 30, 2021
@per1234 per1234 added the topic: language server Related to the Arduino Language Server label Oct 30, 2021
@per1234
Copy link
Contributor

per1234 commented Nov 25, 2021

Here is a minimal demonstration sketch:

void setup() {
  HardwareSerial* foo;
  int bar=PE_5;
}
void loop() {}

I am able to reproduce the bug with the latest nightly, but not when using the tester build for #610

@per1234 per1234 linked a pull request Nov 25, 2021 that will close this issue
@per1234 per1234 added the status: in progress Work is in progress on this label Nov 25, 2021
@per1234 per1234 added conclusion: resolved Issue was resolved and removed status: in progress Work is in progress on this labels Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants