HNHacker News
TopNewBestAskShowJobs

rpeshkov

2 karma · joined April 24, 2018

submissionscomments
rpeshkov··on Show HN: Tailwind Nested VSCode Extension
Well, that's completely different beast...
rpeshkov··on Show HN: Tailwind Nested VSCode Extension
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··on Show HN: Tailwind Nested VSCode Extension
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.