SourceFormatter - rename "trimContent" to formatWhitespace and adding logic to format continuous empty lines