format code with indent