Skip to content

Commenting out in tsx file #9210

@sandy081

Description

@sandy081

From @wallverb on June 14, 2016 13:22

Right now when I use cmd+/ in tsx file in jsx part of the file:

eg. on second line of:

<div>
  <div>...</div>
</div>

then it will convert it to

<div>
  // <div>...</div>
</div>

It would be awesome if it could turn it into

<div>
{/* <div>...</div> */}
</div>

Copied from original issue: microsoft/vscode#7658

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIRelates to the public API for TypeScriptFixedA PR has been merged for this issueSuggestionAn idea for TypeScriptVS Code TrackedThere is a VS Code equivalent to this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions