HackerTrans
トップ新着トレンドコメント過去質問紹介求人

rpeshkov

no profile record

投稿

Show HN: Tailwind Nested VSCode Extension

marketplace.visualstudio.com
6 ポイント·投稿者 rpeshkov·2 年前·7 コメント

コメント

rpeshkov
·2 年前·議論
Well, that's completely different beast...
rpeshkov
·2 年前·議論
Wow, this is huge! :)

I tried it to see what's going on. There are 2 issues that I need to fix:

- Variables. It splits incorrectly

  [--variations-gap:
    theme(spacing[2])]
- Arbitrary variants are split incorrectly as well

  [&>h2:
    first-child]:
rpeshkov
·2 年前·議論
Thank you for this idea! VSCode API definitely allows to do this, however here I will need more sophisticated algorithm to understand where to show it and where not. Current implementation can expand/collapse literally any string, so kind of implicitly it supports even the cases when you use classnames or similar libraries.