Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React doc comment not working #37

Open
himat opened this issue Dec 30, 2020 · 1 comment
Open

React doc comment not working #37

himat opened this issue Dec 30, 2020 · 1 comment

Comments

@himat
Copy link

himat commented Dec 30, 2020

Doc comments don't seem to work in a typescript react file.

In a .ts file:

/** <I type this, and press enter and the '*' is auto inserted on the next line - good>
 *

In a .tsx file:

/** <I type this, and press enter and nothing is inserted on the next line - bad>

Is this a problem with this plugin or something else?

@zacharytyhacz
Copy link

I write comments in jsx/tsx like:

<h1>Hello World</h1>
{ /* this is a comment */ }
<h2>Typescript is still cool</h2>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants