You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prompting users to reload vscode window for proper manifest updates (#811)
* Added log messages to track treeView registration
* Changed to same treeView pattern as live watch
* Check if views are correctly loaded before registering
** Check if related commands are there
** Ask user to reload VS Code window if not
* Added a pop up window to ask the user to reload when component viewer view is not registered
* Add tests, move some local mocks to global vscode mock
* Include extension.ts in coverage
---------
Co-authored-by: Jens Reinecke <jens.reinecke@arm.com>
expect(vscode.window.showWarningMessage).not.toHaveBeenCalledWith('Cannot activate all Arm CMSIS Debugger views. Please reload the window.','Reload Window');
expect(vscode.window.showWarningMessage).toHaveBeenCalledWith('Cannot activate all Arm CMSIS Debugger views. Please reload the window.','Reload Window');
47
+
});
48
+
49
+
it('reloads window if users clicks \'Reload Window\' button',async()=>{
0 commit comments