Recent

Author Topic: Importing Editor color settings  (Read 1130 times)

440bx

  • Sr. Member
  • ****
  • Posts: 377
Importing Editor color settings
« on: August 13, 2018, 03:38:07 am »
Hello,

I currently have 2 Lazarus/FPC installations in separate virtual machines. 

From the first installation, I exported the Editor colors.  Now I would like to import those settings in the other installation but I don't see an "import" option anywhere (I'm sure it's there and I don't see it).

The question is: how do I import the settings I saved into another Lazarus installation ?

Thank you.

taazz

  • Hero Member
  • *****
  • Posts: 5362
Re: Importing Editor color settings
« Reply #1 on: August 13, 2018, 09:44:43 am »
Hello,

I currently have 2 Lazarus/FPC installations in separate virtual machines. 

From the first installation, I exported the Editor colors.  Now I would like to import those settings in the other installation but I don't see an "import" option anywhere (I'm sure it's there and I don't see it).

The question is: how do I import the settings I saved into another Lazarus installation ?

Thank you.
copy the exported file in ot your config directory more info http://wiki.lazarus.freepascal.org/UserSuppliedSchemeSettings#Adding_custom_schemes
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

440bx

  • Sr. Member
  • ****
  • Posts: 377
Re: Importing Editor color settings
« Reply #2 on: August 13, 2018, 03:49:58 pm »
copy the exported file in ot your config directory more info http://wiki.lazarus.freepascal.org/UserSuppliedSchemeSettings#Adding_custom_schemes
Thank you.  Got it to work :)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4938
    • wiki
Re: Importing Editor color settings
« Reply #3 on: August 13, 2018, 05:24:23 pm »
Hello,

I currently have 2 Lazarus/FPC installations in separate virtual machines. 

From the first installation, I exported the Editor colors.  Now I would like to import those settings in the other installation but I don't see an "import" option anywhere (I'm sure it's there and I don't see it).

If you do that once for each new install, you can also copy your entire EditorOptions.xml file (from the primary config path / see View > Ide Internals > About IDE).

Many of the xml files can be copied. But some contain file location (eg where fpc is). EnvironmentOptions is one that has file locations. Those are better not copied, but you can copy individual parts.

440bx

  • Sr. Member
  • ****
  • Posts: 377
Re: Importing Editor color settings
« Reply #4 on: August 13, 2018, 05:47:47 pm »
If you do that once for each new install, you can also copy your entire EditorOptions.xml file (from the primary config path / see View > Ide Internals > About IDE).

Many of the xml files can be copied. But some contain file location (eg where fpc is). EnvironmentOptions is one that has file locations. Those are better not copied, but you can copy individual parts.

Those are the "details" that are good to know upfront.  Thank you Martin.