tcMenu icon indicating copy to clipboard operation
tcMenu copied to clipboard

Name generated files after project

Open vzahradnik opened this issue 1 year ago • 2 comments

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.

vzahradnik avatar Jan 02 '25 13:01 vzahradnik

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.

vzahradnik avatar Jan 09 '25 23:01 vzahradnik

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.

davetcc avatar Nov 16 '25 09:11 davetcc