reset rad studio settings without uninstalling it

你说的曾经没有我的故事 提交于 2020-02-02 11:56:56

问题


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?


回答1:


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

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

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.

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.

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.

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




回答2:


cleanregistryide

Clean the registry entries for the IDE. Deletes the BDS current user registry key and files under appdata in the BDS directory. Caution: You will lose all your projects from the BDS directory, so back them up before starting BDS with this option. This is a last resort, not the first thing you should try when troubleshooting the IDE.

any installed components will not get uninstalled but will no longer be loaded.



来源:https://stackoverflow.com/questions/29847706/reset-rad-studio-settings-without-uninstalling-it

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!