zed
zed copied to clipboard
Incorrect order of suggestions in Tailwind LSP
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
Order of suggestions in Zed's implementation of Tailwind LSP differs from VSCode and nvim LSP ones. This is especially distracting when using the common px- and py- padding classes, where Zed first suggests the rarely needed scroll-px- and scroll-py classes.
I'm not sure what the correct suggestions should be. In VsCode if you type px-4, it lists first the px- classes and scroll-px- after that. In nvim (nvim-cmp) it only lists the px- classes. Of other editors Nova works similarly to VSCode.
Environment
Zed: v0.149.0 (Zed Preview) OS: macOS 14.5.0 Memory: 36 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
If applicable, attach your Zed.log file to this issue.
No response
I recently enabled tailwind and also noticed that the suggestions seemed messed up.
It looks like this is fixed. I'm not able to reproduce it anymore.
Let me know if this is still happening for you on the latest version of Zed, and I will reopen it.