When working in MySQL, I will often start by writing the first few lines of my query then press control + B to beautify while I am thinking of how I would like to write the rest