恢复 Delphi 环境路径
Restore Delphi environmental paths
在 Delphi 10 Seattle 中,我单击了 Options->Library->LibraryPath
中的 "Delete invalid paths" 按钮,它弄乱了一些默认的环境路径。有没有办法恢复默认设置?
例如:
$(BDSLIB)$(Platform)\
$(BDSCOMMONDIR)\Dcp$(Platform)
(这些无效)
除非重新安装,否则无法恢复它们。然而,这是我在西雅图安装的那些(应该是非常普通的,因为它是在新笔记本电脑上的全新安装,而且我一直在使用柏林)。我将以两种格式提供它 - 直接 copy/paste 版本和单个项目的列表,因此您可以轻松使用。
单行copy/paste:
$(BDSLIB)$(Platform)\release;$(BDSUSERDIR)\Imports;$(BDS)\Imports;$(BDSCOMMONDIR)\Dcp$(Platform);$(BDS)\include;
个人参赛作品:
$(BDSLIB)$(Platform)\release;
$(BDSUSERDIR)\Imports;
$(BDS)\Imports;
$(BDSCOMMONDIR)\Dcp$(Platform);
$(BDS)\include;
有默认和内置的方式来恢复您的设置。这种方式可用多年(超过15年)
运行 Delphi 带命令行参数 -rXXX
bds.exe -rXXX
。会发生什么:
The name you provide after -r is a registry hive. If that registry
hive does not exist, the IDE create a brand new registry hive with all
the defaults and uses it. Because this takes you back to all the
default settings, it fixes most start up problems with the IDE. Note
that because custom controls are not part of the defaults, this
technique will result in your IDE not having any custom controls you
have installed previously. Custom controls are the most common cause
of this error, so you will probably want to add any you have one at a
time and test.
Your new registry hive will be stored in the registry at
HKCU\Software\Embarcadero\name\version. Your current settings for the
IDE are stored at HKCU\Software\Embarcadero\BDS\version. You can
compare the two registry hives using regedit to see what is different.
您可以从新环境恢复您的 Library/Browsing 路径,方法是从 XXX 环境复制它们并将其粘贴到常规环境。
在 http://docwiki.embarcadero.com/RADStudio/Berlin/en/IDE_Command_Line_Switches_and_Options and on http://support.embarcadero.com/es/article/42597
阅读更多内容
在 Delphi 10 Seattle 中,我单击了 Options->Library->LibraryPath
中的 "Delete invalid paths" 按钮,它弄乱了一些默认的环境路径。有没有办法恢复默认设置?
例如:
$(BDSLIB)$(Platform)\
$(BDSCOMMONDIR)\Dcp$(Platform)
(这些无效)
除非重新安装,否则无法恢复它们。然而,这是我在西雅图安装的那些(应该是非常普通的,因为它是在新笔记本电脑上的全新安装,而且我一直在使用柏林)。我将以两种格式提供它 - 直接 copy/paste 版本和单个项目的列表,因此您可以轻松使用。
单行copy/paste:
$(BDSLIB)$(Platform)\release;$(BDSUSERDIR)\Imports;$(BDS)\Imports;$(BDSCOMMONDIR)\Dcp$(Platform);$(BDS)\include;
个人参赛作品:
$(BDSLIB)$(Platform)\release;
$(BDSUSERDIR)\Imports;
$(BDS)\Imports;
$(BDSCOMMONDIR)\Dcp$(Platform);
$(BDS)\include;
有默认和内置的方式来恢复您的设置。这种方式可用多年(超过15年)
运行 Delphi 带命令行参数 -rXXX
bds.exe -rXXX
。会发生什么:
The name you provide after -r is a registry hive. If that registry hive does not exist, the IDE create a brand new registry hive with all the defaults and uses it. Because this takes you back to all the default settings, it fixes most start up problems with the IDE. Note that because custom controls are not part of the defaults, this technique will result in your IDE not having any custom controls you have installed previously. Custom controls are the most common cause of this error, so you will probably want to add any you have one at a time and test.
Your new registry hive will be stored in the registry at HKCU\Software\Embarcadero\name\version. Your current settings for the IDE are stored at HKCU\Software\Embarcadero\BDS\version. You can compare the two registry hives using regedit to see what is different.
您可以从新环境恢复您的 Library/Browsing 路径,方法是从 XXX 环境复制它们并将其粘贴到常规环境。
在 http://docwiki.embarcadero.com/RADStudio/Berlin/en/IDE_Command_Line_Switches_and_Options and on http://support.embarcadero.com/es/article/42597
阅读更多内容