It would be nice if the IDE reported errors/warnings rather than just saving. For example if I add a runIn() to my DH, it does not execute, but it saves without error or warning. I keep forgetting that these schedule methods are only for SmartApps.
There’s a thread for IDE feature requests
Not sure who’s monitoring it now though since @dianoga is working on a different project.
@jody.albritton might know.
It does do a “compile” of sorts and will report syntax errors, but the example you gave is difficult (but not impossible) to detect until execution time.
I’m glad SmartThings is keeping a wish list for the IDE, but we are told emphatically that resources are concentrated on overall, consumer facing platform stability.