Code Generator Suggestions

Hi Jay,

Just bought CPM, watched videos and I’ve been playing with it for a while…

Very good work, it definitely makes working with Corona easier. Here’s my two cents.

Please correct me if I am wrong, but right now if I want to make changes using the code generator, I should re-do everything and copy that new code manually. Or I can simply edit those files using the text editor.

But wouldn’t it be better if,

After creating a project (or working on any imported project for that matters) when I double click on build.settings or config.lua (& main.lua too if possible) it opens up the code with all current values in file pre-selected instead of starting from scratch?

Also, that section might also benefit from something like user presets. For example I can have an “iPad” preset with certain base settings & plist options I’m always using for that device. With one click, I can recall that preset and add/change rest of the parameters as needed…

E [import]uid: 10478 topic_id: 4540 reply_id: 304540[/import]

Yes, good ideas. The only problem with opening the current code is and having the values pre-filled is parsing the file could be dicey if the dev has edited the file. But I would like to see that happen at some point in the future.

The preset idea is cool – as long as the person sets the Default Device before they go generate the code I could probably make a decent guess as to what they wanted. And then some presets for other cases.

At the very least, one of the next versions will (probably) save your settings and use those as the defaults the next time you open the code gen window. That was actually supposed to be in the from the beginning and I skipped over it in my list of things to do. :slight_smile:

Jay
[import]uid: 9440 topic_id: 4540 reply_id: 14310[/import]

Thanks for considering those…

Looking forward for the next version :wink: [import]uid: 10478 topic_id: 4540 reply_id: 14531[/import]