why the Beautify extension doesn't work on html files?
maybe there is some way to set this extension to work on html files?
why the Beautify extension doesn't work on html files?
maybe there is some way to set this extension to work on html files?
There are two ways to format code using beautify.
Open command palette using Ctrl+Shift+P or Command+P on macOS and search
format document with
Enter and select document formatter.
Change default settings (Automatically) Go to the settings. Search :
editor.defaultFormatter
Change the default formatter, then the code will be automatically formatted whenever you save the file.