如何在代码编辑器中禁用自动完成代码语句?

问题描述:

每次我键入如果并按空格键,Delphi将使用完成它,如果True然后和新的

Every time I type if and press the space bar, Delphi completes it with if True then and a new empty line above.

有没有办法删除这个自动完成功能,或至少编辑它不会创建新行? / p>

Is there a way to remove this "autocomplete" feature or at least edit it to not create the new line?

这被称为实时模板,您可以在中编辑实时模板列表href =http://docwiki.embarcadero.com/RADStudio/XE4/en/Templates_Window>模板窗口,从查看菜单。

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.