HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rpeshkov

no profile record

Submissions

Show HN: Tailwind Nested VSCode Extension

marketplace.visualstudio.com
6 points·by rpeshkov·2년 전·7 comments

comments

rpeshkov
·2년 전·discuss
Well, that's completely different beast...
rpeshkov
·2년 전·discuss
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년 전·discuss
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.