-
-
Notifications
You must be signed in to change notification settings - Fork 553
Closed
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedcriticality: highOf high impactOf high impacttopic: language serverRelated to the Arduino Language ServerRelated to the Arduino Language Servertype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Describe the bug
Deleting a sketch tab that declares a function used in other tabs doesn't report errors.
To Reproduce
- Create a new sketch
- Save it
- Select any board
- Create a new tab named
tab.ino - In the
tab.inodeclare a functionvoid foo() {} - Save
tab.ino - Call
foo()insideloop()in the main sketch file - From the file explorer delete
tab.ino - Verify the
foo()call insideloop()is not underlined as error - Type
fooinsideloop()and verify thefoo()function is shown in the autocomplete windows
Expected behavior
I'd expect foo() to be underlined as error after tab.ino is deleted and not to be shown in the autocomplete window anymore.
Desktop (please complete the following information):
- OS: Linux
- Version: 2.0.0-beta.4-nightly.20210318
- Date: 2021-03-18T03:10:26.441Z
- CLI Version: 0.17.0 alpha [ab587583]
Additional context
None.
Metadata
Metadata
Assignees
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedcriticality: highOf high impactOf high impacttopic: language serverRelated to the Arduino Language ServerRelated to the Arduino Language Servertype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project