Rather than reset the file list and right editor content, we should superimpose the error over the right editor and leave the file list alone. This should make it less jarring when syntax errors occur while editing the FSD.
Also, the error should include a link that jumps to the corresponding spot in the definition.