[Lazarus] Suggestion about environmentoptions.xml

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Oct 13 16:09:30 CEST 2015


On Sun, 11 Oct 2015 14:03:00 +0300
FreeMan <freeman35 at delphiturkiye.com> wrote:

> Hello,
> Why all settings in environmentoptions.xml ? for example, New desktop 
> settings added, its good think, But why all value in 
> environmentoptions.xml ? 

It was easier to implement and loading/saving only one file is faster.
The IDE already loads 30+ configs every start and this costs some time.
Loading the files contents and parsing the XML could be done in
parallel.

> My suggestion is different file for each 
> setting grup. PackageEditor_***** can be separate xml file. So user 
> (like me) when any conflict, just remove that file, and IDE create 
> default values. At this style, I mean each settings in separated file, 
> can copy settings to different os or user(s)

What settings a user wants to move to another OS varies widely.
Maybe implement a dialog, where the user can select
what to export.

Mattias




More information about the Lazarus mailing list