Format code and export formater