when I press enter
Those settings only act on code completion.
That is.
- (Afaik) identifier completion (after dot, or ctrl-space), if this leads to symbols like := being added
- local variable creation. shift-ctrl-c
- procedure creation. shift-ctrl-c on methods in interface.
- code generated by creating events from object inspector
There also is Jedi code formatter... But I don't use it, so I can't help with that.