Repro: main(List<String> args) { <---- } Enter at <---- correctly indents 4 chars. Press Cmd + S, the cursor jumps back to the start of the line.