Programmers.txt modification have no effect ! cache somewhere ?

Hi , i have a strange problem that i am trying to figure out

if i open and modify programmers.txt

in C:\Users\tfoutfou\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6

removing almost everything and only keep this part

arduinoasispatmega32u4.name=Arduino as ISP (ATmega32U4)
arduinoasispatmega32u4.communication=serial
arduinoasispatmega32u4.protocol=arduino
arduinoasispatmega32u4.speed=19200
arduinoasispatmega32u4.program.protocol=arduino
arduinoasispatmega32u4.program.speed=19200
arduinoasispatmega32u4.program.tool=avrdude
arduinoasispatmega32u4.program.tool.default=avrdude
arduinoasispatmega32u4.program.extra_params=-P{serial.port} -b{program.speed}

when i open IDE again , it remember all the last programmer in the list !

even if i completely remove programmers.txt , all the programmer are still in the list

Is there some cache or database somewhere that need to be cleaned or updated ?

also i don’t have any other programmers.txt on my drive , except one in MegaCore that have a completely different list of programmer

Thanks

This might help.

Hi @tfoutfou. The workaround is to delete the folder where Arduino IDE stores the files that result in the caching of the menu contents:


:warning: Please be careful when deleting things from your computer. When in doubt, back up!


C:\Users\<username>\AppData\Roaming\arduino-ide\

(where <username> is your Windows username)


:red_exclamation_mark: If looking for it with your file manager or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".


Arduino IDE doesn't store any irreplaceable content in that folder, so the deletion of the folder will only result in some minor inconvenience of some menu selections reverting to their default values (but no change to your preferences, sketches, installed libraries, or boards platforms).

ok , so i am not crazy , this is a longtime ongoing issue !