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

Introduce CompletionTriggers #829

Merged
merged 4 commits into from
Jun 5, 2024
Merged

Conversation

alcarney
Copy link
Member

@alcarney alcarney commented Jun 5, 2024

Replacing the previous list of re.Patterns, language features now need to declare a CompletionTrigger which describes the conditions required before completions should be triggered.

This allows features to declare, in addition to the patterns, the language and trigger characters they require. (Closes #413)

By limiting the existing features to the languages they support fixes #800

Lastly, the server will now include eval-rst in its list of completion suggestions for MyST files (Closes #799)

alcarney added 4 commits June 5, 2024 07:54
Replacing the previous list of `re.Patterns`, lanuage features now
need to declare a `CompletionTrigger` which describes the conditions
required before completions should be triggered.

This allows features to declare, in addition to the patterns, the
language and trigger characters they require.
@alcarney alcarney merged commit 52ceaaf into swyddfa:develop Jun 5, 2024
12 of 13 checks passed
@alcarney alcarney deleted the completion-triggers branch June 5, 2024 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant