Code that is not formatted can be very difficult to read.
Perhaps more importantly for you, unformatted code is difficult for you yourself to work with.
So professionals always use the IDE keystrokes on a reflexive basis to constantly reformat their code.