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

Fix Handling of Extensions Managed by Editor #2

Merged
merged 4 commits into from
Mar 1, 2023

Conversation

manuth
Copy link
Contributor

@manuth manuth commented Mar 1, 2023

Currently, extensions managed by the editor aren't added to the list of extensions installed by vsix-manager.

Changes made in this PR will cause vsix-manager to add extensions managed by the editor to the list of installed extensions.

Furthermore, changes made in this PR will allow vsix-manager to uninstall extensions managed by the editor.

This might improve the experience of syncing extensions using vsix-manager alongside sync-settings

@@ -136,14 +136,15 @@ async function installExtension(extension: string, sources: Record<string, Sourc

await vscode.commands.executeCommand('workbench.extensions.installExtension', extension);

installedExtensions[extension] = null;
Copy link
Member

Choose a reason for hiding this comment

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

Can you replace the null with an empty string ''? Thx

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Alright! Did so

@manuth manuth requested a review from daiyam March 1, 2023 09:57
@daiyam daiyam merged commit 0c6d2e1 into zokugun:master Mar 1, 2023
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.

2 participants