Reputation: 144
I've recently took advantage of the github student developer package from github and download Atom.io. I've been liking the features of it so far mainly the syntax highlighting that for ejs files as im learning node. However for some reason emmet doesn't work with ejs. I tried looking online but i didn't see anything.
if i type ul>li*3 + [tab] or from what ive seen ctrl+e that should give me
<ul>
<li></li>
<li></li>
<li></li>
</ul>
but its just creating space. when i press ctrl+e it brings up "find in current buffer"
the file association with .ejs files is "Javascript Template" as im using the language/ejs package. Any help on how to fix?
Upvotes: 2
Views: 3058
Reputation: 44
You may configure the settings as follows:
snippets.json :
{
"ejs": {
"filters": "ejs",
"extends": "html",
"profile": "xml"
}
}
If you use the package "language-ejs", it will not function.
Upvotes: 2