Can't add additional board URL in settings #1511
Labels
conclusion: duplicate
Has already been submitted
conclusion: invalid
Issue/PR not valid
type: imperfection
Perceived defect in any part of project
Describe the problem
When using arduion IDE 2.0 on Windows, when trying to add additional board URL through the settings, I can't apply it with OK button, it says
Invalid sketchbook location: c:\Users\User\Documents\Arduino
.It happened because the folder does not exists. If I create the folder it solves it, but the application itself should create the folder automatically in case it's not exists.
It happens here:
arduino/arduino-ide/arduino-ide-extension/src/browser/dialogs/settings/settings.ts
I would add additional check before of that:
pseudo code:
Let me know if it's something you would interested in I can make new PR.
To reproduce
Delete
C:\Users\User\Documents\Arduino
folder, then try to add additional board URL in settings.Expected behavior
Add board URL without ERROR.
Arduino IDE version
2.0.0
Operating system
Windows
Operating system version
11
Additional context
.
Issue checklist
The text was updated successfully, but these errors were encountered: