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

Defer completion from string to handle subsetting cases #433

Closed

Conversation

yutannihilation
Copy link
Contributor

@yutannihilation yutannihilation commented Jul 9, 2024

This PR should address posit-dev/positron#3931

Currently, completions_from_string() is invoked in unique cases and return early, but what posit-dev/positron#3931 revealed is that it can be a composite case. So, this pull request moves completions_from_string() into completions_from_composite_sources() so that it can provide completion items for both cases.

(A string can be treated more specially to handle more cases, but what I could come up with is only the subsetting case.)

@yutannihilation yutannihilation marked this pull request as draft July 9, 2024 03:13
@yutannihilation yutannihilation marked this pull request as ready for review July 9, 2024 03:34
@yutannihilation yutannihilation deleted the defer-string-completion branch August 30, 2024 14:23
@github-actions github-actions bot locked and limited conversation to collaborators Aug 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant