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

How to prevent the installation of related VSCode extensions? #738

Closed
gremo opened this issue Dec 11, 2024 · 7 comments
Closed

How to prevent the installation of related VSCode extensions? #738

gremo opened this issue Dec 11, 2024 · 7 comments
Labels
question Further information is requested

Comments

@gremo
Copy link

gremo commented Dec 11, 2024

Hi, first thank you for the best VSCode PHP extension ever made! I'm just interested in the basic PHP features, is there any way to avoid the installation of PHP Profiler and IntelliPHP extensions?

My container right now has just the DEVSENSE.phptools-vscode extension, but the other gets installed automatically.

@jakubmisek
Copy link
Member

thank you @gremo !

We intentionally moved those features into separate extensions so you can uninstall them (https://code.visualstudio.com/docs/editor/extension-marketplace#_uninstall-an-extension). Once you uninstall them, VSCode won't install them again during the next update.

@jakubmisek jakubmisek added the question Further information is requested label Dec 11, 2024
@gremo
Copy link
Author

gremo commented Dec 11, 2024

Thanks @jakubmisek for the quick answer! Sure I can, but being the the extensions of devcontainer.json, they would pop up again as I rebuild, am I right?

@jakubmisek
Copy link
Member

@gremo good point! I didn't realize it's a bit more complicated in containers.

I have found the solution in a year-old release note: https://github.com/microsoft/vscode-docs/blob/main/remote-release-notes/v1_85.md#opt-out-of-extensions

@gremo
Copy link
Author

gremo commented Dec 11, 2024

Never heard of that! That'is the solution 👍 thanks, sorry for bother about this minor issue

@gremo gremo closed this as completed Dec 11, 2024
@gremo
Copy link
Author

gremo commented Dec 11, 2024

It's not working btw, I guess this is a relly old option that doesn't work anymore 😄

"-devsense.intelli-php-vscode"
"-devsense.profiler-php-vscode"

Given that those are the correct extension IDs.

@jakubmisek
Copy link
Member

Hmm yes, those IDs are correct. I'll try to find a different solution if it exists ...

@jakubmisek
Copy link
Member

jakubmisek commented Dec 11, 2024

is it at least possible to disable those extensions using VSCode configuration?

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

No branches or pull requests

2 participants