Name generated files after project
Is your feature request related to a problem? Please describe.
Generated files always reflect the project folder name. For example, if they are saved in example1, the generated files are named as example1_menu.h, etc...
Describe the solution you'd like Allow to use project name for naming. Consider making it a default option.
It seems like the decision was made for compatibility reasons with Arduino. However, I keep this issue open because PlatformIO doesn't have such a limit and allowing users to modify this behavior still makes sense. We will keep the original behavior as a default.
This is a real annoyance with ESP32 IDF based projects as they are generally always called main. I'll think of a simple backward compatible way to fix this.