Change the Arduino compiler output folder to /dev/shm.

  1. Close the Arduino IDE. (Otherwise your edits will be overwritten)
  2. Open preferences.txt. (Found in the folder ~/.arduino15 on Linux Mint)
  3. Add a new value build.path that points to your preferred folder:
    build.path=/dev/shm/Arduino
  4. Save preferences.txt.
  5. Restart the IDE. Compiler output is now saved in the folder you just added.
    Remember that dev/shm is gone after a reboot!

Set Arduino IDE indent to 4 spaces.

Does that really need its own article on a vanity blog?

Of course, AS IT DOES NOT WORK FOR OVER 4 YEARS NOW.
A solution, I mean a very ugly band-aid is to change the Arduino IDE formatting config file by hand.
EVERY FUCKING TIME YOU UPGRADE YOUR IDE.

The Auto Format indentation is set in
{Arduino IDE installation folder}/lib/formatter.conf
Change the indent=spaces=2 entry to your liking.

And chill out man.