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

Extension API: get installed/enabled/disabled extensions #64148

Closed
Gerschtli opened this issue Dec 2, 2018 · 2 comments
Closed

Extension API: get installed/enabled/disabled extensions #64148

Gerschtli opened this issue Dec 2, 2018 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) extensions Issues concerning extensions

Comments

@Gerschtli
Copy link

Hello,
I was very confused, that it's currently not possible to retrieve all installed extensions (including the disabled ones) via the API and that there are very few exposed functions for managing extensions.
Therefore I would like to request updating the vscode.extensions API as follows (inspired by Atom API https://atom.io/docs/api/v1.33.0/PackageManager ), to add more flexibility and consistency to extension developers:

  • add function to retrieve all installed extensions (including the disabled ones)
  • add function to retrieve all manually installed extensions (this excludes default/builtin extensions)
  • add functions to retrieve all enabled/disabled extensions (globally or workspace-specifically)
  • add functions to install/uninstall extensions
  • add method in Extension<T> to enable/disable extensions (globally or workspace-specifically)
  • add an enum property state to Extension<T> to indicate whether this extension is globally enabled/disabled or workspace-specifically enabled/disabled
  • add boolean property builtin to Extension<T> to indicate whether this extension is a builtin/default extension

What do you think? I would love to help implementing this, but I don't have any experience in this project, so some hints where to look at would be awesome.

Thank you!

@vscodebot vscodebot bot added the extensions Issues concerning extensions label Dec 2, 2018
@sandy081
Copy link
Member

sandy081 commented Dec 3, 2018

Duplicate of #14444

@sandy081 sandy081 marked this as a duplicate of #14444 Dec 3, 2018
@sandy081 sandy081 closed this as completed Dec 3, 2018
@sandy081 sandy081 added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 3, 2018
@Gerschtli
Copy link
Author

Doesn't look like a complete duplicate, but regarding the age of the linked PR, this is some part of vscode, that doesn't get the attention it needs to..

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) extensions Issues concerning extensions
Projects
None yet
Development

No branches or pull requests

2 participants