Want to mak the font size bigger but it doecnt give me that choice in preferences
the ok button is not highlighted.
and it say this.
Invalid sketchbook location: c:\Users\garage computer\Documents\Arduino
Which version of the IDE are you using ?
Topic moved to IDE 2.0 section of the forum
And that folder exists and is write enabled?
Hi @jdolecki . Thanks for your report.
Arduino IDE should automatically create this folder for you if it is missing. Unfortunately there was a bug in Arduino IDE 2.0.0 that made it not create the folder:
opened 03:58AM - 16 Sep 22 UTC
closed 07:10AM - 21 Sep 22 UTC
conclusion: resolved
topic: code
type: imperfection
### Describe the problem
The "sketchbook" folder is a storage location for se… veral types of resources used by the Arduino IDE and the user. In addition to its use for global library installations, it is the preferred location for saving sketches due to the integration of this folder with the "**Sketchbook**" view and **File > Sketchbook** menu.
Currently, the Arduino IDE does not create the sketchbook folder at the default location if it does not already exist (which it won't for first time users).
🐛 The user is prevented from changing preferences until they have selected a sketchbook folder location that exists (https://github.com/arduino/arduino-ide/issues/1444).
🐛 The **Save As...** dialog will not encourage saving sketches to the preferred location.
### To reproduce
1. Rename or delete your sketchbook folder (you can find the location by checking the "**Sketchbook location**" preference in the IDE).
1. Start the Arduino IDE.
1. Select "**File > Preferences**" from the Arduino IDE menus.
1. Modify the "**Editor font size**" value.
1. Click the <kbd>OK</kbd> button.
🐛 The preference can not be changed because the button is disabled.
1. Click the <kbd>CANCEL</kbd> button.
1. Select **File > Save as** from the Arduino IDE menus.
1. A path without any enhanced treatment is selected in the "**Save sketch folder as...**" dialog.
### Expected behavior
Sketchbook folder is created on IDE startup if it does not exist.
If it is not possible to create the sketchbook folder (e.g., it is on a removable or cloud drive that is not currently connected), the IDE should clearly communicate the problem to the user.
### Arduino IDE version
2.0.0-snapshot-4e590ab
### Operating system
Windows
### Operating system version
10
### Additional context
Prior to https://github.com/arduino/arduino-ide/pull/1370, the sketchbook folder was generated on first run as a side effect of the "**Arduino_Builtin**" library installation.
---
As an alternative to automatically creating the sketchbook on startup, the current behavior of the "**Preferences**" dialog could be changed.
Currently, the "**OK**" button is disabled if the path set via the "**Sketchbook location**" preference does not exist. This is the most significant impact of the sketchbook folder not being created.
So if that check for a valid sketchbook path was removed, the remaining impact would be that saving a sketch to a sketchbook that doesn't exist is very complicated for the beginners who are most likely to experience this bug.
I looked for any other impacts of a missing sketchbook folder and didn't find one. Arduino CLI automatically creates the folder on any operation that requires it (Library Manager installation, "Add ZIP Library").
---
The combination of this bug with https://github.com/arduino/arduino-ide/issues/1259 results in an especially poor user experience.
---
Arduino IDE 1.x creates the sketchbook folder on startup.
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://github.com/arduino/arduino-ide#nightly-builds)
- [X] My report contains all necessary details
The bug has already been fixed, but the fix was made after the 2.0.0 release, so is only available from the nightly builds at this time.
I'll provide instructions you can follow to resolve the problem:
Select File > Preferences from the Arduino IDE menus to open the "Preferences " dialog.
Click the BROWSE button on the right side of the "Sketchbook location " field.
A "Select a new sketchbook location " dialog will now open. Select the folder you would like to use as your sketchbook folder. You are welcome to create a new folder for this purpose if you like.
ⓘ The sketchbook folder is where the Arduino IDE installs libraries. It is also a convenient place to store your sketches, since they can be opened via the File > Sketchbook menu.
Click the Choose button in the "Select a new sketchbook location " dialog.
Adjust the "Editor font size " preference to the size you want.
Click the OK button in the "Preferences " dialog.
You are welcome. I'm glad it is working now.
Regards,
Per
system
Closed
March 29, 2023, 8:46pm
10
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.