I do not know clang. I only know that there is a configuration file. The old auto format was absolutely perfect for me. clang is not at all.
Is there a ready-made clang.format file that gives the same result as the old formatting from IDE 1.18?
How can I set up the old font colours? Everything is no longer highlighted in colour. For example, LOW and HIGH are no longer highlighted in colour.
Just to be sure you are aware (it is not clear whether or not you are from your post), the syntax highlighting system is completely separate from the formatter system, so you can not configure the syntax highlighting via the formatter configuration file.
This is being tracked by the Arduino IDE developers here:
If you have a GitHub account, you can subscribe to that thread to get notifications of any new developments related to this subject:
Please only comment on the issue thread if you have new technical information that will assist with the resolution. General discussion and support for the issue must be done here on the Arduino Forum.
The IDE 2.0 is a bad beta version.
It does not find any library that was installed under 1.8.
The colour coding of keywords is incomplete.
The auto-formatting sometimes produces different results.
The debug window is not a separate window.
....
The old IDE is sufficient for me, even if it does not remember the processor in the project. But that's the only thing I miss. And I can live with that. Adios IDE 2.0, you will never find your way onto my computer.
Are you using the same Sketchbook folder with both versions of the IDE ? What is the path to that folder ?
Do you serioysly find that a problem ?
That does not happen for me and I have customised the Auto Format settings to suit myself
I cannot comment on that as I have never tried the debugger, but I would agree that some of the window arrangements, such as the Serial monitor, are not what I would prefer
Paths to the libraries and sketches:
C:\Users\UserName\Documents\Arduino\Libraries
C:\Users\UserName\Documents\Arduino\Sketches\
That looks very odd
Normally the IDE, even 1.x, expects to find libraries added by the user in a folder named libraries within the sketchbook folder. Have you done anything to change that behaviour ?
I have merged your topics due to them having too much overlap on the same subject matter @thomas_ftl.
In the future, please only create one topic for each distinct subject matter and be careful not to cause them to converge into parallel discussions.
The reason is that generating multiple threads on the same subject matter can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.
...and this is exactly why a significant amount of development effort was dedicated to making it configurable.
If the beholder doesn't like the default formatting, they have access to a very powerful state of the art system for configuring it to their preferences.
But if they aren't willing to make the effort to learn how to do that, then they are just going to have to accept the default, which is indeed perfectly fine from an objective standpoint.