it's not in the IDE. the EEPROM is in your Arduino and EEPROM memory values will stay there until your replace them by something else. Your code needs to do this
I have observed that my EEPROM always gets erased with every new code upload.
That seems like broken behaviour to me.
I have checked in Tools and I see no setting for:
"gratuitously and unceremoniously erase EEPROM"
Upon further digging I see, and vaguely re-remember that given the feather/SAMD
do not have EEPROM and since I am using FlashAsEEPROM, the flash gets zeroed
when a sketch is uploaded.
In addition, I notice that sometimes after a power-cycle the variables saved in
emulated EEPROM do not "come back" - while others do.