Skip to content

MarkusKramer/vscode-disable-extensions

 
 

Repository files navigation

Disable extensions for VS Code

This extension is inspired by the VS Code Feature Request #40239

Install

  1. Search in the VS Code extensions: Disable Extensions

  2. Visual Studio Code Market Place: Disable Extensions


Features

  • Disables the specified extension based on the configuration file.

  • Activate only when a profile is found


Note

  1. Make sure that the "code" command is recognized on your device. here

  2. Make sure your VS Code version is above 1.58.0

  3. The extension is currently not available for VS Code insiders.

  4. Please try to configure openInNewWindow to get the best experience

  5. Currently does not support opening the workspace


Usage

  1. Add the ext.config.json file to the .vscode folder.

  2. Close VS Code and open the project again.

Tips: Every time you open a project with a configuration file, the current VS Code will reload once!


Configuration

Name Default Description
disabled Array: [] extension id list (Required)
autoReload Boolean: true Auto reload or manual selection reload
openInNewWindow Boolean: true Open in a new window or the current window

ext.config.json - example:

{
    "disabled": [],
    "autoReload": true,
    "openInNewWindow": true
}

Tips: Right-click on the extension and select "Copy ID".


How it works?

  • Using the official VS Code Command Line Interface (CLI)

Todo

  • Add support for VS Code insiders

  • Add workspace support


Issues

Submit the issues if you find any bug or have any suggestion.


License

Copyright (c) muzaisimao. All rights reserved.

Licensed under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 97.1%
  • JavaScript 2.9%