I’ve been doing a lot of work on JUCER GUI .cpp and .h files.
I thought I was ultra-careful preserving the metadata…
…but when it came time to put them back into the JUCER, it inevitably threw away most of the code when it rewrote the files - of course, I didn’t lose anything but I need to move past this to continue working.
Unfortunately, it’s really not clear how I can correctly use the JUCER and preserve my custom code - or any custom code.
For example, I open the file juce/extras/juce demo/Source/demos/AudioDemoPlaybackPage.cpp in the JUCER and save it in the same directory as AudioDemoPlaybackPage2.cpp without changing anything else.
This action alone erases all the custom code that used to be in AudioDemoPlaybackPage.cpp.
In fact, I haven’t found any usable workflow that lets me even edit the files in the juce demo, let alone my own files…!