Problems with vscode formatting vue code

I set "editor.tabSize": 4, and opened editor.detectIndentation, but the right-click formatted code still has a lock of only two characters, and the html fragment cannot format

.

take a look at this problem https://codeshelper.com/q/10.


restart vscode, and try again

Menu