Page 1 of 1

[IDE] - Add menu item to Save All Preferences.

Posted: Fri Feb 15, 2013 5:36 pm
by skywalk
All preference settings are only saved on exit.
Please allow me to update them with a menu pick and thus a ShortCut for automation.

Re: [IDE] - Add menu item to Save All Preferences.

Posted: Fri Feb 15, 2013 5:59 pm
by freak
They are also saved every time you change as setting.

Re: [IDE] - Add menu item to Save All Preferences.

Posted: Fri Feb 15, 2013 6:20 pm
by skywalk
Yes, but I cannot automate that?

And why this behavior weird behavior?

Initial Preference setting...
[OpenedFiles]
Count = 7
After manually changing a Preference setting...
[OpenedFiles]
Count = 0
After closing IDE...
[OpenedFiles]
Count = 7

Intentional or bug?

Re: [IDE] - Add menu item to Save All Preferences.

Posted: Fri Feb 15, 2013 6:26 pm
by freak
No bug.

If you just want the currently open files in a tool, just use the PB_TOOL_FileList environment variable.

Re: [IDE] - Add menu item to Save All Preferences.

Posted: Fri Feb 15, 2013 6:34 pm
by skywalk
Will do, but you can't be serious?
If I make a change to any Preference, why is my list Opened Files deleted?
That is why I request that Save All Preferences actually do what I want without exiting the IDE.

Re: [IDE] - Add menu item to Save All Preferences.

Posted: Fri Feb 15, 2013 6:38 pm
by freak
The preferences file is for the IDE to store and read its data. It can write there whatever it wants.