Forum > Options

Saving custom configuration[Solved]

(1/1)

Ten_Mile_Hike:
After buying a new computer or after reinstalling Windows (~2-3 times a year between the two) I
always spend about 10 minutes changing the options of the source editor (font, background color,
user defined colors etc...). Although this process is not overly taxing, is there a configuration file/ files
that I could do to back up to the cloud then simply download it to simplify the process?

dsiders:

--- Quote from: Ten_Mile_Hike on November 21, 2025, 07:58:08 pm ---After buying a new computer or after reinstalling Windows (~2-3 times a year between the two) I
always spend about 10 minutes changing the options of the source editor (font, background color,
user defined colors etc...). Although this process is not overly taxing, is there a configuration file/ files
that I could do to back up to the cloud then simply download it to simplify the process?

--- End quote ---

Sure. The only question is where it's stored. It's platform-specific.

The file you're looking for is editoroptions.xml. Windows seems to put them in a \User\username/ directory. Linux put's them in a /home/username/.lazarus/. An install  using fpcupdeluxe puts in a ./config_lazarus/ directory.

Be warned that changes between lazarus versions may mean that the old .xml file is no longer fully compatible with the new format.

n7800:
I think you're interested in the "editoroptions.xml" file in the configuration folder. You can see the path in "Menu > View > IDE Internals > About IDE", line "Primary config directory=".

While it's highly likely to work, there's no guarantee that this file will be portable or compatible between versions.

Edited: Yes, I saw that while I was writing my reply, someone had already replied to you. I was too lazy to rewrite it ))

Ten_Mile_Hike:
Thank you both.

Navigation

[0] Message Index

Go to full version