Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for listing active snippets #1303

Open
pokey opened this issue Nov 3, 2023 · 2 comments
Open

Add support for listing active snippets #1303

pokey opened this issue Nov 3, 2023 · 2 comments

Comments

@pokey
Copy link
Collaborator

pokey commented Nov 3, 2023

For discoverability, it would be great to have a command to list all snippets that are active in the given context.

We should probably support a description field to our snippet format so that we can potentially show that in the list for snippets which have a description

@Mark-Phillipson
Copy link
Contributor

I currently have this written in dotnet with a database behind it: https://www.screencast.com/t/LUCDd3Upcvx
https://voicelauncherblazor.azurewebsites.net/languages

@AndreasArvidsson
Copy link
Collaborator

AndreasArvidsson commented Jul 30, 2024

Definitely doable. I just wonder what we actually want to show. The ones that have a phrase so you can just use the snippet command? Also include snippets without a phrase in case you used them for something custom? Also wrapper snippets? Do we want to have different groupings depending on with category they belong to? Or we could do some kind of suffix?

Neither solution is particular hard I just want us to iron out what we actually want before we start implementing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants