zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
46.5k stars 2.63k forks source link

Feature: Autocomplete closing JSX / TSX elements in Zed #14797

Open Bamboooz opened 1 month ago

Bamboooz commented 1 month ago

Check for existing issues

Describe the feature

Whenever I write some HTML, JSX, TSX in Zed, I wish that when typing an element, for example: <div>, Zed would autocomplete closing it and add a </div> after it, just like in vscode. This would greatly increase frontend development speed with those languages in Zed.

If applicable, add mockups / screenshots to help present your vision of the feature

Zed: zed-behaviour

vscode: vscode-behaviour

osiewicz commented 1 month ago

We already have that functionality for HTML, hence I've changed the title.

Bamboooz commented 1 month ago

My bad, I only checked JSX and TSX, thanks for updating the title.