In VS Code, when I open a .html.erb file the file type associated is html.erb.
I will only see syntax highlighting if I have the file opened as html.erb which seems correct.
The linter output (e.g. div tag not closed) only shows if the file is opened as erb file instead.
Also I can use the formatter if the file is opened as erb but not when it is opened as html.erb.
When the file is opened as erb instead of html.erb I don't get syntax highlighting.
Any help is appreciated!

In VS Code, when I open a
.html.erbfile the file type associated ishtml.erb.I will only see syntax highlighting if I have the file opened as
html.erbwhich seems correct.The linter output (e.g. div tag not closed) only shows if the file is opened as
erbfile instead.Also I can use the formatter if the file is opened as
erbbut not when it is opened ashtml.erb.When the file is opened as
erbinstead ofhtml.erbI don't get syntax highlighting.Any help is appreciated!