Skip to content

Attachments cause strange inlay hint to appear on markup #75

Description

@machadinhos

Hi!

If you enable inlay-hints with this in the settings.json:

{
  "inlay_hints": {
    "enabled": true,
  }
}

you get this strange behavior in the markup of .svelte files:
Image

You get an inlay-hint saying "description: " inside the prop that comes before the {@attach ...}. This appears to happen with any prop that comes before the {@attach ...}, not just class, even js based props like disabled={false}.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions