reformat workspace code