vscode django template formatter code example
Example: There is no formatter for 'django-html' files installed.
{
"beautify.language": {
"js": {
"type": ["javascript", "json"],
"filename": [".jshintrc", ".jsbeautifyrc"]
// "ext": ["js", "json"]
// ^^ to set extensions to be beautified using the javascript beautifier
},
"css": ["css", "scss"],
"html": ["htm", "html", "django-html"]
// ^^ providing just an array sets the VS Code file type
}
}