You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever you have an if statement which does not have braces the indent guides keep going forward rather than stopping after the first line underneath.
edit: the same issue exists with loops and switch statements. For the case of switch statements, the indent guide should stop after the break;.
Example below is in PHP, however it appears to be the same in other languages which allow for braceless if statements.
First image shows how it currently is, second image shows how it should be.
VS Code version: Code 1.21.1 (79b44aa, 2018-03-14T14:46:47.128Z)
OS version: Windows_NT x64 10.0.16299
Reproduces without extensions
The text was updated successfully, but these errors were encountered:
Issue Type: Bug
Whenever you have an if statement which does not have braces the indent guides keep going forward rather than stopping after the first line underneath.
edit: the same issue exists with loops and switch statements. For the case of switch statements, the indent guide should stop after the
break;
.Example below is in PHP, however it appears to be the same in other languages which allow for braceless if statements.
First image shows how it currently is, second image shows how it should be.
VS Code version: Code 1.21.1 (79b44aa, 2018-03-14T14:46:47.128Z)
OS version: Windows_NT x64 10.0.16299
Reproduces without extensions
The text was updated successfully, but these errors were encountered: