[Ide] Only gather project comment tags for files that get compiled.