[Lazarus] Lazarus configuration - portable between versions?
Martin Frb
lazarus at mfriebe.de
Sat Feb 6 15:39:06 CET 2021
On 06/02/2021 12:00, Bo Berglund via lazarus wrote:
> On Sat, 06 Feb 2021 11:46:55 +0100, Bo Berglund via lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
>
>> Every time I am setting up a new Lazarus version on one of my computers I have
>> to struggle to configure the IDE as I want it.
>>
>> It concerns desktop, font sizes, tab behaviour, colors and a number of other
>> things like key shortcuts etc. I believe these are stored inside the
>> pcp/environmentoptions.xml file.
>>
>> My question now is:
>> Can I simply copy the file from the pcp directory of the previous version of
>> Lazarus or are the config files version dependent and incompatible?
> By looking inside the file on my old installationm I see clearly that this is
> not the file I can modify, lots of version dependent paths inside...
>
It would be nice to have a simple tool for that (ideally with selection
of subsections)... But, well, not there...
anyway in the pcp you mainly look at the xml files.
Other files
- lazarus.dci => code templates. If you added new ones, you can copy,
but that overwrites templates added in later releases.
- staticpackages.inc => do NOT copy, maintained by installing packages
As for the paths included in xml files. Set up you first/source IDE to
use as many macros as possible
$(LazarusDir)
$Path($(LazarusDir))
$(CompPath)
$(FPCVer)
....
Then, I guess most of them can be copied. But not tested.
More information about the lazarus
mailing list