I am using Visual Studio Code on a Mac to work on Node.js applications.
Is there a way to make Visual Studio Code recognize EJS files as HTML markup? I didn\'t see any
Following the directions given by documentation I changed this file c:\Program Files(x86)\Microsoft VS Code\resources\app\extensions\html\package.json so it looks like this:
{
"name": "html",
"version": "0.1.0",
"publisher": "vscode",
"engines": { "vscode": "*" },
"extensionDependencies": [
"html"
],
"contributes": {
"languages": [{
"id": "html",
"aliases": ["ejs"],
"extensions": [".ejs"]
}]
}
}
tried..works for me..too lazy to create a new folder atm