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
43.12k stars 2.3k forks source link

Tailwind CSS support in Svelte components #6294

Closed jeppech closed 9 months ago

jeppech commented 10 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Basic Tailwind CSS support was added in Zed 0.103.1. It seems to be working in HTML/JSX/TSX files, but not Svelte files.

Environment

Zed: v0.104.0 (preview) OS: macOS 13.5.0 Memory: 16 GiB Architecture: aarch64

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

Screenshot where no Tailwind classes are shown when writing h-: https://i.jeppe.ch/7hMBggmMtG0n.png

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

No response

JosephTLyons commented 10 months ago

cc @ForLoveOfCats (tailwind) / @mikayla-maki (svelte).

zachdaniel commented 10 months ago

Would also be great have this in .heex files (Phoenix LiveView templates) :)

jmkmay commented 10 months ago

This is the single thing preventing me from adopting Zed over VS Code. Godspeed!

Spikeysanju commented 9 months ago

Zed Tailwind CSS support in Svelte would be fantastic.

JosephTLyons commented 9 months ago

Coming soon!

JosephTLyons commented 9 months ago

This is available in today's preview release - v0.110.0.