Hello,
I'm a great fan of what I call "noisy" errors - a noisy error is
when the systems tells you in no uncertain terms that something is wrong
My view is that anything that smells bad should be brought to the attention of
the programmer in a way they cannot miss.
Recently I've been hit in the face by tiny syntax errors - typically
<$widget> has no matching </$widget> or my quoted symbols are wrong
(example "" is matched by a single " and not two quotes) - as a beginner
I find silent errors *very* frustrating - my eye/brain interface is not yet trained
to the point where the errors hit me in the face.
Would it be possible to make a strict mode where I get told about these errors?
If I tag a tiddler with `strict` I'd like to be told when a <$widget> is not correctly terminated
or when any detectable errors are detected.
This could be done with HUGE RED TEXT in the preview window.
I could live with the strict mode being turned off inside quoted blocks - and I'd also like
The <$widget> and matching </$widget> to be in the same tiddler - It would be strange
to start a widget in one tiddler and terminate it in a transclusion. Also terminating backtick on the same line.
Maybe this is a "lint" for the TW
Would this be doable?
Cheers
/Joe