How to disable autocomplete code statements in code editor?

江枫思渺然 提交于 2019-12-02 01:04:07

That's called a live template, and you can edit the list of live templates in the template window, from the View menu.

Find the template you don't like, select it, and click the "remove template code" button.

From the Tools | Options | Editor Options | Code Insight menu, deselect the Auto complete check box under Code template completion.

Once you disable template auto complete then you need to manually invoke the template if you want it. Do that with CTRL+J.

Since the default location for the live code templates is C:\Program Files (x86)\Embarcadero\Studio\16.0\ObjRepos\en\Code_Templates (for XE8, similar for other editions), you will need to change the permissions on this directory (and its subdirectories) in order to edit or add live templates. Default permissions do not include write permission to this directory.

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