Use the variable file matching the workspace when validating. Also when validating and formatting, show the diff.