If writing in Visual Studio code you make a mistake it is often highlighted:
Visual Studio code does detect: