Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code disable certain extensions

I was wondering whether it is possible to disable extensions for a certain path within the workspace?

Some extensions just crush my laptops performance when opening big files 3000+lines. (Higlighting etc..)

thx

like image 869
Ivan Tarskich Avatar asked Jun 28 '17 08:06

Ivan Tarskich


People also ask

How do I stop vs code from automatically updating my extensions?

VS Code checks for extension updates and installs them automatically. After an update, you will be prompted to reload VS Code. If you'd rather update your extensions manually, you can disable auto-update with the Disable Auto Updating Extensions command that sets the extensions.autoUpdate setting to false.

How to disable all installed extensions in Visual Studio Code?

If you want to quickly disable all installed extensions, there is a Disable All Installed Extensions command in the Command Palette and More Actions (...) dropdown menu. Extensions remain disabled for all VS Code sessions until you re-enable them. Enable an extension

How to change the extensions settings in VS Code 2021?

Yes, As of 2021 you can change the extensions settings for specific Workspace in VS Code. The flow is as follows File > Preferences > Settings. You are going to see two different tabs labelled User and Workspace. --> Select Workspace > Extensions > Turn on or off extensions you desire.

Is there an extension for openinnewwindow in VS Code?

This extension is inspired by the VS Code Feature Request #40239 Disables the specified extension based on the configuration file. Make sure that the "code" command is recognized on your device. here The extension is currently not available for VS Code insiders. Please try to configure openInNewWindow to get the best experience


1 Answers

No, VS Code does not provide a generic solution to disable extensions within specific paths, but extensions can certainly offer this functionality on their own. Please report the performance issues to the offending extensions and consider filing a feature request to enable/disable the extension for a specific path.

You can also disable extensions within individual workspaces. Just open the extension's page, click the disable button, and select workspace

enter image description here

This will disable the extension within the current workspace only.

Here's more info on managing extensions: https://code.visualstudio.com/docs/editor/extension-gallery#_manage-extensions

like image 151
Matt Bierner Avatar answered Sep 29 '22 08:09

Matt Bierner