How to enable auto tag for react fragments?
Closed this issue ยท 6 comments
it possible to make this work for fragments swell?
<> => </>
@AlejandroSanchez90, for clarification, you want version 1?
| = cursor position
Version 1
Old text Command New text
<| > <>|</>
Version 2
Old text Command New text
<| > </>
Should/will be closed by #202
(Thanks to @roycrippen4 for the hard work ๐)
Duplicate of #185. Since there's discussion on-going here, I'll leave this open as well and close it alongside #185.
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.
@AlejandroSanchez90, for clarification, you want version 1?
| = cursor position
Version 1
Old text Command New text <| > <>|</>
Version 2
Old text Command New text <| > </>
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
Example:
<div></div>
Delete div with diw => the text is now
<></div>
instead of
<></>