Detect extensions on templates #40285
Labels
*extension-candidate
Issue identified as good extension implementation
feature-request
Request for new features or functionality
languages-basic
Basic language support issues
Milestone
I have a lot of files that are templates. They are usually named like so:
Currently Code assumes that all
ejs
are HTML files but this is not always the case. It would be better if Code could detect both theyml
part and theejs
part, and properly highlight the code according to this.Now I have to manually switch language on all files which is tedious, and I also lose the proper highlighting of the template tags. This affects more than just pretty colors to. For example when I paste in large blocks of code I get the wrong indentation if the language is not correct.
The text was updated successfully, but these errors were encountered: