zed icon indicating copy to clipboard operation
zed copied to clipboard

TailwindCSS support in ERB tags broken

Open drale2k opened this issue 1 year ago • 1 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

I am filling this as a bug since it is supposed to work after this PR https://github.com/zed-industries/zed/issues/6340

As reported in the PR comments, it does not work as intended. It works when you use plain html in ERB files, but not when actually using ERB.

For example it does not work <%= f.label :keywords, class: "block text-sm font-medium leading-6 text-gray-900" %>. Class names here will not be suggested.

Environment

Zed: v0.132.3 (Zed) OS: macOS 14.2.1 Memory: 64 GiB Architecture: aarch64

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

No response

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

No response

drale2k avatar Apr 28 '24 13:04 drale2k

Similar to #4368

Moshyfawn avatar Apr 29 '24 01:04 Moshyfawn

Closing as duplicate of https://github.com/zed-industries/zed/issues/12728, which is newer, but it's now where all the action is.

mrnugget avatar Jun 07 '24 04:06 mrnugget