Set tab size in Intellij IDEA for Java files
Settings > Editor > Code Style > Java Set values for: Tab size, Indent, Continuation indent