Missing auto indenting inside of switch blocks
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 737
- Avg merge
- 18h 40m
- Merged PRs (30d)
- 31
Description
VSCode Version: 0.10.11
OS Version: OSX, Win10
Scenario 1:
Create a switch statement:

Create a new line above default:
Inside that line type case 0:
Hit enter
Expected (normal VS product behavior): The editor should auto indent after hitting enter
Actual: No indent occurs. See below

Scenario 2:
Create a switch statement. Use the same as how scenario 1 started.
Move the cursor to after the 'break;' Hit enter.
Cursor will be at the same Ch spot as the b in break.
Type case 0:
Expected (normal VS product behavior): The editor should auto un-indent case 0: after typing the colon
Actual: No indent occurs. Looks like the following:

Contributor guide
Assessment
This issue has not been assessed yet.