How to disable the Formatter in Delphi 2010

南楼画角 提交于 2019-12-19 02:27:15

问题


The formatter in Delphi 2010 is really an annoying thing to me. I prefer formatting my code manually. I believe I do it better.

How can I disable it?

NOTE: Answers on why I don't use it in the first place will not be accepted. I need it switched OFF. Nothing more, nothing less.


回答1:


Install DDevExtensions from Andreas Hausladen.
In its last version:
Version 2.0 (2009-09-13)
Added: Embarcadero RAD Studio 2010 support
Added: Editor tab double click action (zoom, super-zoom)
Added: Source Formatter hotkey (Ctrl+D) can be disabled




回答2:


Remove or rename the file Embarcadero.Modeling.Formatter.dll in Delphi's bin directory.




回答3:


There is no need for downloading and installing an extension, not even for deleting a file!

In the Delphi 10 Options head to:

Formatting / Delphi / Profiles and Status (the captions may differ slightly, I have translated them from German)

There is a Checkbox there, titled "Activate Formatting".

Possible downside: This Formatter feature is also deactivated in the Edit menu.



来源:https://stackoverflow.com/questions/1738838/how-to-disable-the-formatter-in-delphi-2010

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