lostintangent / gistpad

VS Code extension for managing and sharing code snippets, notes and interactive samples using GitHub Gists
https://aka.ms/gistpad
MIT License
937 stars 58 forks source link

Understanding the usage of #tag - not grouping as expected #309

Closed cdsaenz closed 9 months ago

cdsaenz commented 2 years ago

I'm trying to organize my gists according to programming language used. From what I've read I might use a repository but I might like to stick to gists if possible. I think the tag solution mentioned in #7 would be great, to create a "virtual folder" by language or project. But somehow I cannot make it work. Must be something silly I'm doing. Screenshot below of what I attempted: the tag sticks to the description but doesn't create a branch in the tree. Thanks a lot!

image

lostintangent commented 9 months ago

The tags needs to be at the end of the gist description, and there needs to be a space between the description and the hash mark. So "foo #bar" would put that gist into a group called "bar.

In your screenshot, there isn't a space before the hash, which would prevent it from being picked up as a tag. So I'm going to close this as resolved, but let me know if it doesn't work when you add the space 👍

cdsaenz commented 9 months ago

Thanks a lot @lostintangent ! That was it! Here testing with snip1 #javalang and test2 #javalang and it works perfect. Great stuff. image