-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Multi root support for extensions management #29242
Comments
Workspace disabled extensionsI do not think we would need to map workspace disabled extensions to the opened folder. It can be treated as the other UI state. Since this is stored in local storage, this would have got fixed with local storage migration. Workspace recommendations
Another idea is to have |
@sandy081 agree that extension enablement per workspace should be fine. As for recommendations, I think ideally we have recommendations both on the code-workspace-file level as well as within a folder. The reason is that both concepts can be shared by users and there may be the interest to share these recommendations in both cases:
I think the actions would need to ask the user where to store the recommendations and we would need to support the extensions-recommendations section also from the workspace file. Maybe to begin with we take it easy and just prompt to which folder to store the recommendations. |
Thanks @bpasero. I am in the same thinking to consider recommendations similar to tasks and launches. Agree that we can prompt for folder to configure recommendations. This will be similar to Opening Settings commands. |
Verification:
|
Workspace recommendations
Today we scan for a
extensions.json
inside the workspace.vscode
folder: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/extensions/browser/extensionsActions.ts#L1227 and also here https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/extensions/electron-browser/extensionTipsService.ts#L71This does not work in a multi root environment. I think we should instead go over all root folders and collect all extensions that are recommended.
Workspace disabled extensions
The text was updated successfully, but these errors were encountered: