Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Comments in JSX jump inside braces #192

@fhammerschmidt

Description

@fhammerschmidt
<div>
  // Execute "format" and this comment will jump inside the braces
  {React.string("Hello, World!")}
</div>

turns into

<div>
  {// Execute "format" and this comment will jump inside the braces
  React.string("Hello, World!")}
</div>

I would expect it to stay where it is.

Playground example

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions