Vscode: Add a shortcut or a button to restart extension host.

Created on 30 Jul 2019  Ā·  7Comments  Ā·  Source: microsoft/vscode


Right now if the extension host crashes we have to restart the editor , it would be awesome if we could add a button or shortcut for the same.

extension-host feature-request

Most helpful comment

Yup , I have seen that , but sometimes u close that accidentally by removing all notifications and then I notice that my extensions are crashed! The only solution is restart the editor.

All 7 comments

If the extension host crashes, there is a popup that contains a button to restart it. Have you seen that @siddhant1 ?

Yup , I have seen that , but sometimes u close that accidentally by removing all notifications and then I notice that my extensions are crashed! The only solution is restart the editor.

This crashes for me a lot. I think it would be nice to have information on why it crashes and for a way to restart to be easily done. I'm assuming CPU load is the issue for me as my computer's bottleneck is the CPU.

It will be more helpful if we put a button to the status bar below that will only appear when extension host crashes.

If the extension host crashes, there is a popup that contains a button to restart it. Have you seen that @siddhant1 ?

I’ve never seen that popup, so I’m guessing the extension host has never actually _crashed_ on me.

It very frequently (as in, at least once an hour during normal work) becomes _unresponsive_, making extensions stop working. Or at least that’s what the output tab says (ā€œUNRESPONSIVE extension host, [extension] took XX% of XXXXms, saved PROFILE hereā€¦ā€).

The only way to get the extension back then is to restart the entire editor, as far as I can tell. :-/

I have found the command palette 'Developer: Reload Window' works well for cases where the extension host crashes and you want to reload it without fully exiting and re-opening vscode. See https://stackoverflow.com/a/42002990/805031 for more info.

Even better, could you please restart the extension host automatically? Reporting that it has crashed, and then waiting for me to recognize that my editor is not working because I have to click an OK button is a bad experience. Rather, only notify me if the extension host is crashing repeatedly, and then provide some context as to what was happening when it crashed. Then I could actually do something to fix it (either disable an extension or restart my editor).

Was this page helpful?
0 / 5 - 0 ratings