Skip to content

Incorrect auto-complete for tag-like string in template literals #4403

Open
@immccn123

Description

@immccn123

I've encountered an issue with the plugin incorrectly handling tag-like strings within template literals. Below is a example that reproduces the problem:

<template>
  {{ "<this_is_a_tag_like string>" }}
</template>
Code_dTWbkEdxJF.mp4

In this example, the plugin incorrectly interprets the string <this_is_a_tag_like string> as an HTML tag. This should be treated as a regular string within the template context.

More Example

Code_3KvMjQtiy6.mp4

While this issue does not significantly affect functionality, it does lead to a less smooth development experience. I would appreciate it if this issue could be addressed in a future update.

Plugin version: 2.0.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    good reproduction ✨This issue provides a good reproduction, we will be able to investigate it first🔩 p2-edge-case

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions