Every time I type if and press the space bar, Delphi completes it with if True then and a new empty line above.
if
if True then
Is there a way to remove
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.