Closed Raees678 closed 1 year ago
@ForLoveOfCats, @SomeoneToIgnore
I want to add that not all elixir project use tailwind, so I think if it is implemented, there should be a project configurations to enable / disable tailwind support.
Probably this kind of settings will eventually be needed anyway because the same thing will happen for tailwind in other templating languages (like erb files for ruby I guess ?) or for other "languages" embedded in HTML like alpine or htmx.
I agree with the project configuration to enable or disable support. I have been primarily writing views using a Ruby gem called Phlex, which defines all markup in Ruby code. So I'm writing tailwind classes inside of .rb
files. It would be amazing if there was some way to enable Tailwind autocomplete there. Maybe by reading the tailwind.config.js
which defines those file paths as being scanned for the Tailwind JIT 🤷♂️
Just want to share my interest in this. Is there anything we can do to contribute?
Zed + Elixir + Tailwind = 💖
This is available in today's preview release - v0.110.0.
Can we have the same for ~F
?
Tailwind Intellisense not working again inside Phoenix ~H sigil Elixir files.
Zed: 0.134.4
:phoenix, "1.7.11" :phoenix_live_view, "0.20.2"
Might the move of the elixir support to an extension have messed this up in some way?
Check for existing issues
Describe the bug / provide steps to reproduce it
TailwindCSS autocomplete does not show up in
.heex
components or~H
sigil snippets in Elixir files.Environment
Zed: v0.103.1 (stable) OS: macOS 13.5.2 Memory: 64 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
https://github.com/zed-industries/community/assets/10237081/4e56d3ea-8018-4750-8d1b-cb281b3840ba
https://github.com/zed-industries/community/assets/10237081/959bd3af-3d4b-4f11-806e-4a49bf52409b
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.