Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.99.0
- OS Version: Windows 11
The problem
When a running extension is disabled from the View->Extensions view, a Restart Extensions button is shown to notify the user that the Extensions must be restarted to disable running extensions.
But when an extension is disabled from the Running Extensions view, this Restart Extensions button is not shown.
Steps to Reproduce:
- Go to View->Extensions.
- In the Extensions view go to the Views and More Actions menu by clicking on the three dots (...) in the top right corner of the Extension view.
- Click on Show Running Extensions
- Hide the Extensions view by going to the View->Explorer view
- Go to the Running Extensions view
- Right click on a running extension and click Disable
- Notice that the extension is still running and there is no indication that the extensions need to be restarted.
Proposed solution 1
Copy the behavior of the View->Extenions view and show a Reload Extensions button when an extension is disabled from the Running Extensions View.
Proposed solution 2
Why is there a separate Running Extensions view in the first place? It only shows the running extensions, and their activation time. There is no separate view for installed, disabled, outdated or populair extensions. These are shown by an "@"filter in the extension search box. I propose to create an @running filter in the View->Extensions view and remove the Running Extensions view at all. It adds no value, creates this bug, and could create new bugs in the future when new behavior is added to the View->Extensions view and this behavior is not copied to the Running Extensions view, which is the cause of this bug.
When this solution is implemented, the 2 ways for viewing the Running Extensions need to be updated as well:
- the Show Running Extensions option from step 3 of the reproduction steps above.
- command "Developer: Show Running Extensions" from the command palette