Skip to content

Formatting option for HTML files not working #1884

Description

@alldaygooning

I am using WWD 1.3.7 in Eclipse 4.36.0

I open .html files with "Generic Code Editor" and cannot use "Format" option to properly format .html files.
Example of horribly formatted HTML:

Image

When I select Right Click -> Source -> Format nothing happens. Invoking this option via a shortcut doesn't work either
I have tried selecting the code I want to format - still nothing.

I have all the language servers enabled:

Image

These are my preferences for WWD HTML formatting (obviously I have tried changing these and restarting Eclipse with no improvements):

Image

Formatting for other files (including Typescript opened in Generic Code Editor) works just fine.

Please tell me what am I missing here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions