How to disable autocomplete code statements in code editor?
问题 Every time I type if and press the space bar, Delphi completes it with if True then and a new empty line above. Is there a way to remove this "autocomplete" feature or at least edit it to not create the new line? 回答1: 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. 回答2: From the Tools | Options | Editor Options | Code Insight menu,