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

Implement resolveCompletionItem for hook descriptions #14

Open
johnbillion opened this issue Aug 31, 2020 · 0 comments
Open

Implement resolveCompletionItem for hook descriptions #14

johnbillion opened this issue Aug 31, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@johnbillion
Copy link
Collaborator

johnbillion commented Aug 31, 2020

Implementing the resolveCompletionItem() method when registering a completion item provider means the construction of properties such as documentation get deferred until each individual completion item is selected.

This should improve performance as the extension won't need to construct the docs for every hook at the point where it provides the initial completion list.

Docs: https://code.visualstudio.com/api/references/vscode-api#CompletionItemProvider

@johnbillion johnbillion added the enhancement New feature or request label Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant