Preferences: when changing Sketchbook location the IDE won't reload resources #570
Labels
conclusion: duplicate
Has already been submitted
criticality: medium
Of moderate impact
priority: high
Resolution is a high priority
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the bug
A default installation of IDE 2.0 points to the user's documents > Arduino folder.
A user might want to point this to a preexisting folder using the Preferences Panel.
When this happens, the IDE keeps seeing the same resources in matter of Sketchbook content and Libraries until a Sketch is saved or the IDE is restarted.
Until this "reload" happens, also a list of libraries remains unavailable, hence their examples
To Reproduce
Steps to reproduce the behavior:
5a. Observe If Sketchbook is empty, no Sketchbook menu item is present under File #569
Expected behavior
Changing the Sketchbook location should reload/rebuild the essential environment settings
Screenshots
Default Sketchbook location (empty, new install)
After saving a Sketch
Changing location to folder full of Sketch/Libraries
No change in content of Sketchbook (also examples for libraries will not be shown - next image)
Libraries are not yet shown
Sketchbook after relaunching
Examples after relaunching
Desktop (please complete the following information):
Additional context
#569
The text was updated successfully, but these errors were encountered: