Open
Description
The traditional Java-based Arduino IDE has long supported a not-so-well-known feature to print additional explanatory text with certain compiler errors. I would like to request this feature be implemented in arduino-cli.
Here is the specific Java code which adds those messages.
Because these messages were never designed to be configurable, for many years Teensy's installer has added Teensy-specific messages by patching the Java code! Here are the messages Teensy currently uses:
My hope is this feature can be configured by platform.txt recipes pairs (match regex & message to print) and documented in the platform specification, so everyone can make use of it.