Skip to content

Assigning class field without semicolon breaks template highlighting #18

@andsmedeiros

Description

@andsmedeiros

Hello! Thanks for the useful extension!

There seems to be an issue with gjs files in a specific scenario:
When assigning a class field without using a semicolon and adding a <template> tag makes the whole template not be detected:

Image

(we are assigning setup without a semicolon, the whole template does not get recognised)

Image

(same thing but with the semicolon, template get highlighted)

This goes to some disturbing extent on multi-component files:

Image Image

(in this file with two components, beyond the two templates' contents, the white-washed section also swallows all of the JS content from the second component)

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