Skip to content

Cannot toggle comments via shortcuts correctly #377

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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