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 delegated completion item resolutions. #6502

Merged
merged 1 commit into from
Jun 14, 2022

Conversation

NTaylorMullen
Copy link
Contributor

  • Added aDelegatedCompletionItemResolver that understands how to resolve items producted from the DelegatedCompletionListProvider.
  • Added a new DelegatedCompletionResolutionContext that's cached along side the delegated completion lists. This is what's used by the resolve to properly delegated item resolutions.
  • Added tests for new delegated completion item resolution.

Before

before gif

After

after gif

Fixes #6449

- Added a`DelegatedCompletionItemResolver` that understands how to resolve items producted from the `DelegatedCompletionListProvider`.
- Added a new `DelegatedCompletionResolutionContext` that's cached along side the delegated completion lists. This is what's used by the resolve to properly delegated item resolutions.
- Added tests for new delegated completion item resolution.

### Before

![before gif](https://i.imgur.com/G16Ltnp.gif)

### After

![after gif](https://i.imgur.com/vuqsrBJ.gif)

Fixes #6449
Copy link
Contributor

@allisonchou allisonchou left a comment

Choose a reason for hiding this comment

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

🎉

@NTaylorMullen NTaylorMullen merged commit 9be6f5f into main Jun 14, 2022
@NTaylorMullen NTaylorMullen deleted the nimullen/6449 branch June 14, 2022 22:19
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.

Enable delegated completion item resolution for new enhanced completion support
2 participants