Q:

intellij - setting to replace the caret at the beginning of each line with correct indent

I am looking for the setting that forces the caret to placed at the beginning of each line. Currently if I click anywhere, the caret gets positioned there. It is not the behavior I like, I would like it to be replaced, in order to prevent me to do it incorrectly. I think it is an option commonly used, and was standard in the intellij I became in some other company but I am bad at describing it. 
Sorry for my approximative vocabulary and thanks for any hint.

A:

Go to File → Settings
On the left pane, expand Editor, then select General.
Find the Virtual Space section, and uncheck "Allow placement of caret after end of line".

