Okay, this is a strange one. My tab size has always been set to 4, and has always worked properly. Now after updating to the latest verison of IntelliJ, even though in the code style preferences it still says 4, my tabs are only 2 spaces.
Am I missing something here? How is this possible?