VSCode EJS Formatter
// install digitalbrainstem.javascript-ejs-support
//then add this to settings.json
{
"html.format.templating": true
}
Cookie_Wookie_7
// install digitalbrainstem.javascript-ejs-support
//then add this to settings.json
{
"html.format.templating": true
}
// Go to vscode settings (Ctrl + Comma) then search for "files.associations"
// Finally add following lines into your vscode settings
// (or add that using vscode GUI settings by providing key (*.ejs) and value (html))
"files.associations": {
"*.ejs": "html"
}