Skip to content

Question: VS Code - html.erb files linter/formatter #894

Description

@Cervenka

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!

Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions