I used an extension a while ago that changed CSS colour values (#ababab) into little coloured dots, that became a colour picker when clicking on them (while still letting you input RGB or Hex, ofc), and it was pretty awesome!
So, I could unironically see this being really nice. Although… I think this would need a pretty narrow context, something like if x == true
would look pretty confusing as a toggle, I imagine. But assigning x = true
? Bring it on.
It looks neat, but I think I’ll keep my true
and false
. I don’t like chhannngggeeee!
I can’t tell if it’s a parody or an actual genius idea.
I would like to see the debugger give a list of all these boolean values and watch them toggle in real time. That would be far more useful.
fwiw I opened an issue on the vs code repo. It already got a downvote and the issue was reassigned from one maintainer to another. Popcorn is tightly secured.
Previously I was able to search for “true” and “false” in my codebase. How do I do that now? VS Code has a new search interface specifically for toggles. It’s closed by default, but you can open it by clicking the “Toggle Search Toggle” toggle.
Yo dawg, I heard you liked toggles so we gave you a toggle to search for toggles in your toggle
Also, the section defining behaviour for null and undefined values are kind of bonkers.
Buuut, a nice visual nonetheless. I don’t see myself using it though.
Ngl I dont hate it.