How to easily port the IDE (registry) settings when you reinstall or upgrade Delphi

When I upgrade to the next Delphi version, instead of re-configuring the IDE from zero, I usually “port” the settings from the old version to the new version. For this:

  1. I extract some registry keys to text (reg) files

  2. In each file I (batch) replace the old version to new version (for example “21.0” to “22.0”).

  3. I import back the registry

Of course not all settings can be ported. But those related to the IDE (like editor colors, themes, desktop, etc) can.

Of course, if these “easy to port” registry keys would all start with some prefix like “Roaming” (example “Roaming_Auto Save”) then it will be easier to spot them.

Example of reg keys that can be easily ported (from Delphi 12 – HKEY_CURRENT_USER\Software\Embarcadero\BDS\22.0 ):

Auto Save.reg
AutoRecover.reg
Autorun.reg
Class Completion.reg
Closed Files.reg
Closed Projects.reg
Code Explorer.reg
Code Insight.reg
Compiling.reg
Component Toolbar.reg
DesignerInsight.reg
Desktop.reg
Editor.reg
Favorite Projects.reg
FileAssociation.reg
Form Design.reg
Git.reg
InsightGlobalOptions.reg
Main Window.reg
Object Inspector.reg
Project Upgrade.reg
ProjectManager.reg
ProjectUpgrading.reg
Property Editors.reg
Recover Files.reg
Replace.reg
Search.reg
Session.reg
Startup Options.reg
ToDo List.reg

Special files:

Library_Win32.reg -> You MIGHT need to adjust some paths if you don’t use the $(Auto) in output paths!

Debugging.reg -> You need to remove these keys:

  • [HKEY_CURRENT_USER\Software\Embarcadero\BDS\37.0\Debugging\Embarcadero Debuggers\Evaluators
  • HKEY_CURRENT_USER\Software\Embarcadero\BDS\37.0\Debugging\Embarcadero Debuggers\ExceptionCodes
AI Delphi GUI programming
AI Delphi GUI programming

Leave a Comment

Scroll to Top