Dont show code that is never reached as an error

I use this if true then return end a lot too, but now there is no obvious sign that the code after the return statement is never reached. Just changing the style of the warning from a red underline to dimmed text solves all these problems and avoids having to write the additional if statement.

1 Like