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

Preventing automatic extension installation #608

Open
Nefcanto opened this issue Aug 1, 2023 · 1 comment
Open

Preventing automatic extension installation #608

Nefcanto opened this issue Aug 1, 2023 · 1 comment

Comments

@Nefcanto
Copy link

Nefcanto commented Aug 1, 2023

Hello

This is what I do:

I bring up some docker containers to develop my application — one for React, one for .NET, etc.

Then I want to debug my .NET code. I use Dev Containers => Attach to Running Container.

The problem is that, as soon as I attach it, it automatically starts installing a couple of extensions. ES Lint and C#.

I don't want it to install extensions automatically.

  • First, we use our own selection of extensions for debugging. The default selection does not suit us. For example, we don't want ES Lint in debugging C# code.
  • Second is because we use specific versions of those extensions and we install them manually through their downloaded .vsix files.
  • Third is because we constantly remove containers and re-create them (chaos engineering) and this automatic process incurs a lot of internet costs for us.

So, how can I prevent those extensions from being installed automatically?

@samruddhikhandale
Copy link
Member

Hi 👋

Looks like you are using devcontainer/features or devcontainer/images for you dev container? We have devcontainers/features#386 open to track this request.

Feel free to comment/add your thoughts on that issue, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants