Auto-Closing Tags in React/React Native/TSX Like VSCode #24362
Closed
lohenyumnam
started this conversation in
From VSCode
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
Zed currently does not automatically close
TSX
tags when typing in.tsx
files. In VSCode, when typing an opening tag like<Component>
, the editor automatically inserts the closing tag(</Component>)
.Expected Behavior:
<Component>
, it should automatically insert</Component>
.<FlatList />
,<Button />
) should also be correctly handled.Steps to Reproduce:
.tsx
file in Zed.<Component>
.Additional Context:
This feature is useful for React/React Native/TSX development and is a common behavior in other editors like VSCode. Adding this support would improve the developer experience
Beta Was this translation helpful? Give feedback.
All reactions