Add a way to read all enabled extensions across all extension hosts
See original GitHub issuevscode.extensions.all
or vscode.extensions.getExtension
will only return extensions from the current extension host. The root cause for this is that the return type IExtension<T>
exposes the .exports
property, which represents the extension’s exported API. Since extensions can export synchronous APIs, we can’t automatically proxy it to make it available to other extension hosts.
Also, making vscode.extensions.getExtension
return an extension running on a different extension host, has the potential to cause breakage in existing extensions.
We could add a new function to be able to get to extensions that are running on other extension hosts.
This came up before e.g. in #82633
cc @jrieken
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Chrome Extensions: declare permissions and warn users
Grants the extension access to all hosts. It may be possible to avoid declaring any host permissions by using the activeTab permission. Read...
Read more >Use group policies to manage Microsoft Edge extensions
Open the group policy management editor and go to Administrative Templates > Microsoft Edge > Extensions and then select Configure extension ...
Read more >Unified Extensions Button and how to handle permissions in ...
The button panel will display the user's installed and enabled extensions and their current permission state. In addition to managing host ...
Read more >Set Chrome app and extension policies (Windows)
You can also control which apps or extensions users can install. You set the default policies for all apps and extensions. Then, if...
Read more >Deploying Google Chrome extensions using Group Policy
At the very least, you will be able to test the extension before deploying it to your users and you can check if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The main motivation for me is to get access to the manifests of all extensions across extension hosts to find contributions such as
jsonValidation
.The same issue came up with the new anycode contributions and the
htmlLanguage
contribution were exploring in #146731.@jrieken perfect, thanks!