However, when i was working on my last video, i did a thing that almost broke it entirely so today i want to share with you what i did and how i fixed it. This video is sponsored by pcb way when youre building electronic devices, the quality of the built piece, is entirely dependent on the quality of its pcb. That is why i use the services of pcb wave for my prototypes, where i get low volumes of boards extremely quickly for an unbeatable price check pcb way and get your pcbs professionally manufactured. The arduino ide 2.0 came as a battery list in march of this year, and it is a great upgrade over the original ide. One of the most important features that it offers is the ability to autocomplete code, where it now offers variable names, as suggestions as well as function names from the included libraries. These features are all great, but one of the features that i found was lacking in the new ide is the ability to zoom into code with the mouse wheel in the old ide. I was able to use control plus mouse well to either increase or decrease the font size of the editor, and this was really helpful for filming whenever i needed to show you some of the code that i used with my projects and videos. Since this no longer works in the new ide, i was looking for a replacement for this setting, and this is when i stumbled upon the interface zoom option in the settings menu one thing to try it out and not knowing how it works.

I immediately raised the value to 400 percent thinking that everything on the screen will be four times the size that it was before. However, once i applied the settings, i realized that this made everything about 20 times larger and everything on the ui was overflowing. When i now opened the settings again to revert this change, all i could see was the additional boards manager url settings field without the ability to restore the zoom level at all, i thought of using the tab key to navigate to the zoom field, so i can Modify the value with the keyboard, but since i was not seeing that fill, i didnt know if it was on the right fill. So i was basically working blind. I tried restarting the arduino ide a few times, but that was also without success as the settings, along with the scale value were just reloaded and the ide started with the same scale as before i mean that is exactly what i would expect in normal conditions, but In my case, this made the id unusable at this point. My only two options were to either uninstall the new id and hope that that will also remove the settings or at least give me the option to remove the settings after the uninstallation or the second option was to explore the folders on the computer. In an attempt to find where these settings are being saved and possibly updating them externally, you can guess what i did Music after some searching around and a few dead ends.

I managed to find the file that was looking for im using windows, so the pad where i found the file is specific to it, but it might give you an idea if you are trying to find it on your machine on windows. The file is saved in your user directory under a folder called dot, arduino ide and the file is called settings.json. When i opened this file with the text editor, i immediately found exactly what i was looking for, but in a slightly different format than expected on the ui in the arduino ide, the value is presented as a percentage, but in the settings file under the arduino.window.zoom level. Variable i saw a value of 15 indicating some sort of a step count. How many times the ui should be increased in size. I then updated this value from 15 back to 3, so i can test it out and see how it will work on the ui and when i started the id now with the new settings, everything was usable again. I opened the settings screen again and saw that now the scale was set at 160, which is three steps up from the original size. If we consider that the scale goes up by 20. At a time with that, i fixed the appearance of the new arduino ide and i can once again use it to write and show you code for future projects.