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

Let drivers implement a resolveConnection function #1058

Merged
merged 3 commits into from
Dec 8, 2022

Conversation

gjsjohnmurray
Copy link
Collaborator

This PR enhances the interface between this extension and its drivers, allowing a driver to specify a callback function that will be invoked after this extension retrieves connection information from user/workspace settings but before those settings are sent to the language server part of the driver.

Use-cases include drivers that want to look up credentials from secure storage before sending them to the target server.

@gjsjohnmurray gjsjohnmurray merged commit c2dcf9a into mtxr:dev Dec 8, 2022
@gjsjohnmurray gjsjohnmurray deleted the resolveConnection branch December 8, 2022 16:04
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.

None yet

2 participants