-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Load/download extension using extensions.json adjacent to settings.json #34011
Comments
This makes sense |
I don't understand what you're asking for, we support an extension.json file already. |
Hey @roblourens I am new to IDE. I didn't came across extension.json either at location So it will be awfully nice of you to point out if I am missing something. PS: @shanalikhan also have similar year old issue #14444 |
We a have a couple features that address this:
Hope that helps! |
Hey @robertohuertasm But I still feel its more inline with the design pattern of light weight text editors such as vscode to save all settings in json file including user-wide extensions. Let me try to rephrase and update my proposal.
Let me know if I was able to explain the proposals decently ; I do strongly feel about extensions.js at user level to manage state of extensions is inline with design pattern. Thx |
Thanks for the details. We try to design the extension APIs so that the user doesn't need to do a lot of manual management like that - I have lots of extensions installed that are only useful in certain file types or workflows, but I've never needed to enable/disable them individually. It is possible to disable them for a certain workspace (by clicking the gear in the extensions viewlet) but I don't think that controlling it with a config file is necessary. Instead, if there are extensions that need to be enable/disabled really often, we should figure out why that is and either file issues on the extension, or change the extension APIs so that they don't interfere. |
Well json configs are for nerds and that what vscode copied from success of sublime. This allows you to check them in git, share and expand on each others work. Anyways you already have UI for settings.json but still have file for it which I can sync accross platforms easy. Same true for extensions, people who don't wanna use extensions.json file; for them you already have UI; I am just purposing the using json as store instead of internal store. Thx |
Got it. I just realized this is also tracked in #15442, there has been some other discussion about it if you check the other linked issues too. |
I think it makes sense to move extensions to extensions.json for following advantages.
e.g csharp collection in extensions.json file will have on csharp related extensions and can be disabled in workspace extensions.json so unnecessary extensions are not loaded
Thx
The text was updated successfully, but these errors were encountered: