VS code Format Code command and shortcut Shift+Alt+F doesn't work
i'm having the same issue - it's looks like a bug.
See:
- https://github.com/Microsoft/vscode/issues/12359
- https://github.com/Microsoft/vscode/issues/12705
- https://github.com/Microsoft/TypeScript/issues/11101
If you have an error in your code, the formatting will not allow you to change the layout. Fix any bugs you have (if you have any of course) then try shift + alt + f.
For me CTRL SHIFT i worked. Not sure why is that.