My Arduino IDE has both the ESP8266 and ESP32 support which works well but makes switching boards a bit of a nightmare. The boards selection menu was very long and I had to make sure to remember to switch things like memory configuration and programming method every time I changed board type.
To simplify this I edited the boards.txt in both the esp8266 and the esp32 branches (having taken back ups). Even if one just has an esp8266 set up the simplification can be worthwhile.
The edits were basically to remove all the board sections I never use and also to put my default selection for a parameter at the top so that it is immediately chosen once the board is selected.
Removing whole boards is fairly obvious as all their parameters are grouped together under the board name.
In my case I ended up with 2 boards in the esp8266 file (espuino and esp8266 generic) and 1 board in the esp32. By moving the memory section for the ESP8266 cases I use up (4M 3M SPIFFS) that becomes the defualt and avoids inadvertent slips which can wipe out existing SPIFFS set up.
Obviously updating boards.txt from elsewhere would wipe the changes so I also back up my changed files.