重置rad studio设置而不将其卸载 [英] reset rad studio settings without uninstalling it

查看:147
本文介绍了重置rad studio设置而不将其卸载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Delphi xe7 update 1,今天我注意到使用代码编辑器有些奇怪。 ide从另一个位置而不是我当前的光标位置开始键入。我没有安装任何IDE增强工具。我是否可以将rad studio设置重置为默认值而不卸载它?

I use Delphi xe7 update 1 and I noticed something weird today with the code editor. the ide starts typing from another position instead of my current cursor position. I don't have any ide enhancement tools installed. is there anyway I can reset rad studio settings to default without uninstalling it?

推荐答案

我想不出任何编辑器设置,会导致这种行为。

I can't think of any editor setting that would cause that behavior.

任何一种重置都会清除IDE配置的所有更改,包括卸载所有第三方组件。

Any kind of reset is going to clear all of the changes to the IDE configuration, including uninstalling all third-party components.

找出导致问题的最简单方法是编辑启动Delphi的快捷方式,并添加 -r foo 命令行开关。这告诉IDE使用其他注册表项(在本例中为 foo );由于注册表项不存在,因此IDE会使用默认项来创建它,就像您第一次启动IDE时一样。

The easiest way to find out what's causing it is to edit the shortcut that starts Delphi and add the -r foo command line switch. This tells the IDE to use a different registry entry (in this case, foo); since the registry key doesn't exist, the IDE will create it using the default entries exactly as it did the first time you started the IDE.

然后您可以使用RegEdit在两个键之间比较代码编辑器设置,或者从 foo ,编辑生成的 .reg 文件,将密钥名称更改为实际密钥,然后导入该reg文件,以用<$ c $中的新值替换现有值c> foo

You can then either use RegEdit to compare the code editor settings between the two keys, or export the one from foo, edit the resulting .reg file to change the key name to the actual key, and import that reg file to replace the existing values with the new ones from foo.

请注意, foo 只是一个示例名称。您可以为新的注册表项使用任何名称; foo 是通常选择的选项,因为它很容易记住,以后可以删除以保持注册表干净。

Note that foo is just an example name. You can use any name for the new registry key; foo is the one usually chosen, because it's easy to remember and find later to delete to keep your registry clean.

完成后,请不要忘记再次编辑快捷方式以删除 -r foo 开关。

Once you're done, don't forget to edit the shortcut again to remove the -r foo switch.

这篇关于重置rad studio设置而不将其卸载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆