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

Supports getting multiple snippet variants from community #2804

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

AndreasArvidsson
Copy link
Member

@AndreasArvidsson AndreasArvidsson commented Feb 1, 2025

The Cursorless side of talonhub/community#1718

Will allow Cursorless to fetch multiple snippets from community and decide which one to use.

Release notes

Cursorless can now get multiple snippets from community. One for each language. Cursorless can then pick the correct snippet for the document language regardless of which document is focused at the moment.

@AndreasArvidsson AndreasArvidsson requested a review from a team as a code owner February 1, 2025 05:23
@@ -1,35 +1,48 @@
languageId: typescript
command:
version: 6
spokenForm: snippet if
version: 7
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new file that just happens to have the same name as a removed file

@@ -1,28 +1,34 @@
languageId: plaintext
command:
version: 6
spokenForm: snippet spaghetti
version: 7
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new test with a different file name. Just git being stupid.

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

Successfully merging this pull request may close these issues.

1 participant