Skip to content

Cannot toggle comments via shortcuts correctly #377

@Sepush

Description

@Sepush

Hi, I noticed an issue on https://repl-vuejs.vercel.app/.

When using Cmd + / to toggle comments inside a <script setup> block

the editor incorrectly applies HTML comments instead of JavaScript/TypeScript comments (//).

It seems like the editor isn't correctly recognizing the language context inside the script tag as JS/TS.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions