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

vscode-lib: expose vscode API via global #161

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Conversation

keegancsmith
Copy link
Member

Currently vscode doesn't support dynamic imports, so it isn't possible for a javascript provider to opt-in to more advanced user experience via the vscode APIs.

Until we can more easily opt-in to vscode support, we expose the vscode API via node's global object. We want to see what sort of APIs get used from vscode in providers, and will then likely evolve a first class editor abstraction.

Currently vscode doesn't support dynamic imports, so it isn't possible
for a javascript provider to opt-in to more advanced user experience via
the vscode APIs.

Until we can more easily opt-in to vscode support, we expose the vscode
API via node's global object. We want to see what sort of APIs get used
from vscode in providers, and will then likely evolve a first class
editor abstraction.
@keegancsmith keegancsmith merged commit 645d1d8 into main Jun 27, 2024
10 of 11 checks passed
@keegancsmith keegancsmith deleted the k/vscode-global branch June 27, 2024 13:21
@keegancsmith
Copy link
Member Author

@sqs I will rely on post-merge review. If this looks ugly to ya or if you think we should maybe hide the interactions with global behind another package happy to implement that.

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.

1 participant