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

Need to disable extensions not just uninstall them #2882

Closed
5 tasks done
SteveALee opened this issue Feb 10, 2016 · 11 comments
Closed
5 tasks done

Need to disable extensions not just uninstall them #2882

SteveALee opened this issue Feb 10, 2016 · 11 comments
Assignees
Labels
extensions Issues concerning extensions feature-request Request for new features or functionality
Milestone

Comments

@SteveALee
Copy link

SteveALee commented Feb 10, 2016

When looking for problems with intellisense (#2850) I wanted to clean up my config by disabling all extensions. However they can only be deleted.

This would be a generally useful option in case extensions are causing problems.

@joaomoreno

  • Figure out format to store extensions disablement in settings
  • Move extension scanning to Renderer (with @joaomoreno)
  • Ignore disabled extensions when scanning for them at runtime
  • Provide UI for enabling / disabling an extension for a workspace or globally
  • Telemetry
@Enet4
Copy link
Contributor

Enet4 commented Feb 10, 2016

As a workaround, extensions can be manually disabled by moving them away from your local extensions folder. (this is "~/.vscode/extensions" in Linux, I'm afraid I don't really know for other platforms)

But yes, I would also appreciate a more intuitive means of disabling extensions.

@alexdima alexdima self-assigned this Feb 10, 2016
@alexdima alexdima added the feature-request Request for new features or functionality label Feb 10, 2016
@alexdima
Copy link
Member

fyi @joaomoreno

@bgse
Copy link
Contributor

bgse commented Feb 10, 2016

Would be really neat if we could define active extensions as multiple presets, workspace setting with individual extensions would suffice I guess but having a way to quickly switch between extension presets would be awesome (even if that means restarting vscode).

@savioret
Copy link

What about adding a ".disabled" (or .whatever) file inside the extension folder in order to set it as "not loadable". Neat and easy to implement.
for instance: ~/.vscode/extensions/myextension/.disabled

@gregvanl
Copy link

Doc Feedback verbatim request: "I need to disable an extension without uninstalling it."

@SteveALee
Copy link
Author

SteveALee commented Apr 28, 2016

I recently noticed code has a "safe mode' to disable ALL plugins and invoked via a command line switch. You should doc that in same place too.

@Novynn
Copy link

Novynn commented Aug 10, 2016

+1

@joaomoreno
Copy link
Member

joaomoreno commented Aug 30, 2016

@bpasero says:

The first thing I typically ask a user when an issue is reported is to run with all extensions disabled. However, if one extension is causing issues and 30 are installed, it is very hard to find the one causing the issue.

Ideally we have UI to disable an extension selectively (from the extensions viewlet) so that a user can easily find out which extension is causing issues.

Optionally we could also allow to do so from the command line, e.g. "code --disable-extension vscode-icons"

CC'ing some folks fyi @alexandrudima @joaomoreno @jrieken @egamma

@joaomoreno joaomoreno changed the title Need to disable extensions not just unistall them Need to disable extensions not just uninstall them Aug 30, 2016
@joaomoreno joaomoreno modified the milestones: September 2016, Backlog Sep 13, 2016
@joaomoreno joaomoreno assigned joaomoreno and sandy081 and unassigned alexdima Sep 13, 2016
@scottpschaffer
Copy link

I just wanted to note that I am running version 1.5.2 and I have only the C# extension loaded. Just now, I went to the Extension and pressed Update. It went searching for the update (I assume) and then the Update button changed to an "Enable" button. Clicking the Enable button presents me a message that says I need to restart Code for the enabling to occur. I mention this only because it shows that there is already some functionality in the program to Disable the extension (at least that one).

@JoeCodeswell
Copy link

+1 need to sometimes disable/enable pylint

@Enet4
Copy link
Contributor

Enet4 commented Jun 5, 2017

@JoeCodeswell This feature is already available. Enter Visual Studio code, open the extensions column, and click on the cogwheel next to the extension. As for disabling Pylint in particular, it might be more elegant to have a custom .pylintrc file in each of your projects. With { "python.linting.enabled": false }, linting is disabled entirely.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
extensions Issues concerning extensions feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests