add Compile and error highlight