Skip to content

Formatter: Show formatting errors before auto-correct (squiggly lines, problem pane) #916

@Splines

Description

@Splines

Thanks a lot for taking a stab at this long-standing issue of no good html+erb linting/formatting options, you really fill a gap there!

I was wondering if the Herb LSP in VSCode could also show formatting-related issues as problems in the problem pane as well as directly in the code, just like the Herb linter does:

Image

For example, from html-eslint I'm used to squiggly lines whenever I don't have the correct indentation. Currently, the Herb Formatter corrects these mistakes on save, I'd just like to also see them directly, even before I hit save.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions