Add action to reload the window with disableExtensions set, #43156

This commit is contained in:
Rachel Macfarlane
2018-02-14 17:25:08 -08:00
parent 4d8eb83c77
commit 8c8f30fa96
12 changed files with 69 additions and 12 deletions
@@ -349,8 +349,7 @@ export class IssueReporter extends Disposable {
const disableExtensions = document.getElementById('disableExtensions');
disableExtensions.addEventListener('click', () => {
ipcRenderer.send('workbenchCommand', 'workbench.extensions.action.disableAll');
ipcRenderer.send('workbenchCommand', 'workbench.action.reloadWindow');
ipcRenderer.send('workbenchCommand', 'workbench.action.reloadWindowWithExtensionsDisabled');
});
disableExtensions.addEventListener('keydown', (e) => {
@@ -263,9 +263,12 @@ input:disabled {
margin-top: .5em;
}
.workbenchCommand {
cursor: pointer;
}
.workbenchCommand:disabled {
color: #868e96;
cursor: pointer;
}
.block-extensions .block-info {