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
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
switch (x) {
case 0: break;
case 1: break;
case 2: break;
}
<-- cursor goes here
If I place the cursor after the last curly brace and press 'enter', the next line is indented with two tabs. It happens everywhere I press 'enter' in the file after this piece of code. The issue only happens when I use an uneven amount of cases. If I put an even amount of cases the indentation is correct:
switch (x) {
case 0: break;
case 1: break;
case 2: break;
case 3: break;
}
<-- cursor goes here
The issue also doesn't happen when I specify a default.
switch (x) {
case 0: break;
default:;
}
<-- cursor goes here
The text was updated successfully, but these errors were encountered:
Consider following code in the editor:
If I place the cursor after the last curly brace and press 'enter', the next line is indented with two tabs. It happens everywhere I press 'enter' in the file after this piece of code. The issue only happens when I use an uneven amount of cases. If I put an even amount of cases the indentation is correct:
The issue also doesn't happen when I specify a default.
The text was updated successfully, but these errors were encountered: