But why doesn't it work for me?
I think this might solve the problem:
This features requires you to enable Format On Type setting ("editor.formatOnType": true).
I set it at the Working Area level.
User level does not work.
forum-eight Good question.
This setting is defined by Microsoft's VS Code (https://code.visualstudio.com/docs/editor/codebasics#_formatting)
The user level should work. That's how I have it:
mmmhhh.... I didn't understand much