Format code layout