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