You can compile the files that have errors for a project or a folder by right-clicking the project or folder or selecting the project from the main menu and selecting the Recompile files that have errors option. You can also select Recompile files that have errors from the main menu in the Problems view to compile all the files with the errors.