Using Monaco editor - monaco branch now in fork (PR#2971)

If anyone is still reading - results...

A few hours ago, in the previous post, I asked how many errors did you see in the screenshot.

Some were easy, some were a bit more knowledge based, others were downright devious :slight_smile:


There were 10 issues / errors - here is a demo of what monaco editor can do...

(click me to reveal)



Thoughts

While it may not be beneficial to have such strict error checking on by default, individual issues can be easily quietened by adding // @ts-ignore above the item

image

And if you wish, the whole file in one go...
KyXTi45AB0

alternatively, the JS checking option could be toggled by a node option e.g... Check JavaScript


All of these improvements are now pushed to my fork (see first post for info)

4 Likes