vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Install extension to all existing profiles

Open exxmen opened this issue 2 years ago • 3 comments

A "Install - All Profiles" dropdown option when installing an extension will be a great addition

exxmen avatar Aug 08 '22 09:08 exxmen

/assign @sandy081

gjsjohnmurray avatar Aug 08 '22 09:08 gjsjohnmurray

Can you please provide the use case?

sandy081 avatar Aug 09 '22 09:08 sandy081

Let's say you have a "Base" profile and a "Python" profile already created. While using the Python profile, you had the need to install an extension, for this example let's say the XML extension, but this extension can also be used by other profiles so you install the extension to the current profile (Python), then switch to the Base profile and install the extension again.

If this feature is available, there will be no need to switch profiles if the extension you want to install is applicable to all existing profiles.

exxmen avatar Aug 09 '22 10:08 exxmen

@sandy081 where should I start if I want to help?

exxmen avatar Sep 08 '22 09:09 exxmen

Thanks for offering help. But we are not yet ready to take PRs for this feature as it is still under dev and experimental. We will let you know once we get to this.

sandy081 avatar Sep 08 '22 15:09 sandy081

This would be very helpful indeed, along with "Enable/Disable - All Profiles". I want to enable copilot chat globally and currently I have to follow these:

  1. Uninstall copilot extension
  2. Install copilot nightly extension
  3. Add experimental quick chat in settings.json (although that seems to be tracked in a separate issue)
  4. Switch profile, and repeat

The setup becomes tedious very quick when you're juggling multiple profiles

mateeni-dev avatar Jun 09 '23 09:06 mateeni-dev

I think a better approach would be a tree-like structure:

  • Base
    • Python
      • AI
      • CV
    • C++
    • Whatever

Each line represents a profile. The child profile only tracks the difference between itself and the parent. So installing any extension or changing settings to the parent profile automatically applies to the child profiles.

RichardLuo0 avatar Jun 09 '23 10:06 RichardLuo0

Hello @sandy081, I just find a problem about this feature: when make an extension pack "Apply Extension to all Profiles", its containing extensions aren't applied to all profiles. For example, I've make GitHub Markdown Preview "Apply Extension to all Profiles",

image

But these extensions are not.

image

In my opinion it should be consistent. Thanks for you!

rennsax avatar Aug 04 '23 07:08 rennsax

Can you please file a separate issue for this usecase?

sandy081 avatar Aug 22 '23 14:08 sandy081

@sandy081 I've opened the issue #190992. Thanks!

rennsax avatar Aug 22 '23 15:08 rennsax

Very effecient and better solution!

It would be nice to have like a list of checkboxes in a popup to select which profiles you want the extension to be installed in. Checking a profile box will apply to it. Unchecking will uninstall from that profile!

image

Replace items with profile names and a check all box at top right corner!!

To notify user which profiles have this extension instead of having to go look individually to find out! For This will help users in better time management and organization!

waleedrana777 avatar Aug 31 '23 15:08 waleedrana777