|
From: | Jean Abou Samra |
Subject: | Re: Feature request: Fix cascading error messages |
Date: | Tue, 29 Mar 2022 08:53:06 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 |
Le 29/03/2022 à 08:46, Martín Rincón Botero a écrit :
+1. I think making it customizable (with a --cascade-level parameter) wouldn't add much value considering developing effort, though. Lilypond, like Python f. ex., should simply report the first error (and ideally immediately abort compilation).
I strongly disagree :-)When there is an error, the default should be to continue as long as possible. For large projects where the compilation takes time, you want to have some viewable output even if there is a glitch somewhere. I also think you are overestimating the "developing effort" -- such an option would be absolutely trivial to add. I am not sure it is worth it though. As David said, hiding errors is always a heuristic process. I think this would be better addressed by a convenient "jump to first error" button in Frescobaldi.
Jean
[Prev in Thread] | Current Thread | [Next in Thread] |