eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
20.04k stars 2.5k forks source link

vsx: add ability to 'disable' plugins #7558

Open dsseng opened 4 years ago

dsseng commented 4 years ago

Description

At the moment, there is no way to disable an plugin listed in the extensions view unless a user uninstalls them. This issue tracks the feature of being able to disable a plugin through the view similarly to VS Code:

Screen Shot 2020-04-13 at 8 49 32 AM

Reproduction Steps

  1. open the extensions view
  2. select a plugin
  3. notice how there is uninstall but no disable

OS and Theia version:

OS: Ubuntu 19.10 Theia: cb3db2a

vince-fugnitto commented 4 years ago

@sh7dm an extension can either be removed through:

dsseng commented 4 years ago

No, my extension isn't built-in. Probably that's a plugin (VS Code extension). It's stored in ~/.theia/extensions/ directory.

vince-fugnitto commented 4 years ago

No, my extension isn't built-in. Probably that's a plugin (VS Code extension). It's stored in ~/.theia/extensions/ directory.

You're referring to VS Code plugins which you've added to the application? You may check by viewing the plugins-view or extensions widgets.

dsseng commented 4 years ago

@vince-fugnitto I mean ones installed from Open-VSX, they aren't from the Theia app itself, they were installed using Open-VSX: image

vince-fugnitto commented 4 years ago

@vince-fugnitto I mean ones installed from Open-VSX, they aren't from the Theia app itself, they were installed using Open-VSX: image

At the moment, the only option is to uninstall the extension, you may open an issue in order to track the feature of disabling them instead.

dsseng commented 4 years ago

I did so :). This is that issue. Could you please add related labels etc. ?

vince-fugnitto commented 4 years ago

I did so :). This is that issue. Could you please add related labels etc. ?

I've updated the issue so it's clearer for others when they reference it.

akosyakov commented 4 years ago

Duplicate of https://github.com/eclipse-theia/theia/issues/6528

VSX registry is just UI, we should implement proper enablement management in the plugin extension first.