-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
How to enable auto tag for react fragments? #199
Comments
@AlejandroSanchez90, for clarification, you want version 1? | = cursor position Version 1
Version 2
|
Detects if `<>` was typed in a react file (`js`, `jsx`, or `tsx`) and autocloses the fragment tag.
Detects if `<>` was typed in a react file (`js`, `jsx`, or `tsx`) and autocloses the fragment tag.
The above is incorrect, see next comment. |
@PriceHiller Unfortunately it's not a duplicate of #185. It's a similar-ish problem, but #202 doesn't solve #185. I'll be submitting a separate PR for that issue. |
Hi thanks for the reply, I was referring to version one |
Sounds good, @AlejandroSanchez90. A PR has been submitted that fixes this issue and should be merged in shortly. |
@roycrippen4 Thanks a lot for this feature! This works now when typing normally, but doesnt work when updating tag name using diw/ciw and the like |
it possible to make this work for fragments swell?
<> => </>
The text was updated successfully, but these errors were encountered: