Author Topic: "Copy from" option on "project modes..." dialog.  (Read 364 times)

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1867
"Copy from" option on "project modes..." dialog.
« on: August 20, 2021, 11:38:51 am »
When creating a new mode, or just moving from 'Release' to 'debug', the IDE uses always a standard empty configuration.
On more complex projects this lead to tedious and error prone rewriting of all settings for compiler options, folders, libraries, etc.
It would be very effective and efficient to have the possibility to copy the whole settings from one mode to another, so you can then change only few settings.
Thank you Pelle.

Offline John Z

  • Member
  • *
  • Posts: 358
Re: "Copy from" option on "project modes..." dialog.
« Reply #1 on: August 20, 2021, 03:07:02 pm »
Good Idea.

As a temp workaround to avoid tedious mistakes one could create the new mode then exit the IDE and edit the ppj file directly, copy and paste from your mode of choice into the new mode.  Then restart the IDE and make only the changes needed for the new mode.  :) Not as easy as making it an intrinsic feature but might be less error prone and tedious than starting from scratch.

Yes the ppj says "don't dare edit this file"  but I've been able to .... make backup first use a UTF8 capable editor.

Alternatively I wonder if an add-in could do what you are suggesting....

John Z

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1950
Re: "Copy from" option on "project modes..." dialog.
« Reply #2 on: August 21, 2021, 09:02:41 pm »
Perhaps it's time to check options for making an Add-In, if it allows to do that.
I don't like mess with project file, even i have done that.
May the source be with you