Applying auto formatting