News for hackers. Stuff that matters.
Re:Show HN: Tailwind Nested VSCode Extension by khalidx on Sunday April 21, 2024 @02:12PM (#40107874)
This a great idea.

You could also add a collapse toggle ">" to the classname line that will open the focus view (instead of the keyboard toggle). I think the VSCode API supports it.

Re:Show HN: Tailwind Nested VSCode Extension by rpeshkov on Sunday April 21, 2024 @02:44PM (#40108126)
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.