windicss / windicss-intellisense

Intelligent WindiCSS tooling for VS Code
https://marketplace.visualstudio.com/items?itemName=voorjaar.windicss-intellisense
MIT License
194 stars 16 forks source link

two suggestions: class sorting and prompt improvement #427

Open jakecodev opened 2 years ago

jakecodev commented 2 years ago

Hello, I have some suggestions to improve plugin user experience, hope they will help.

  1. Class sorting: when the plugin helps sort, it seems the customized class names will be put in the middle, I suggest to make them first place ranther than hide in windi classes, which might be not easy to locate a specific class. In addition, "flex" will the be the first in order and "justify-center items-center" will be at the end. I suggest "flex" to be together with "justify-center items-center" and "absolute" together with "left-3 top-2".

  2. Prompt: let's say "bg-gray-200" and "gray-200" in attributify mode, when user simply deletes "0" or "00", nothing will pop up like “bg-gray-200”. It would be a greater experience if the prompt would pop up automatically rather than type any num to make the prompt appear.

  3. folding: I just found "shadow" property in attributify mode does not fold.

jeremyjacob commented 2 years ago

Agreed. Sorting unknown classes to the front would be a big improvement. Piggybacking off this to say that autocompletion working for user-defined shortcuts would be amazing.