MCPcopy Create free account
hub / github.com/REditorSupport/vscode-R / detachGuest

Function detachGuest

src/liveShare/shareSession.ts:64–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64export function detachGuest(): void {
65 console.info('[Guest Service] detach guest from workspace');
66 sessionStatusBarItem.text = 'Guest R: (not attached)';
67 sessionStatusBarItem.tooltip = 'Click to attach to host terminal';
68 guestWorkspace = undefined;
69 rWorkspace?.refresh();
70}
71
72export function attachActiveGuest(): void {
73 if (config().get<boolean>('sessionWatcher', true)) {

Callers 1

shareCommands.tsFile · 0.90

Calls 1

refreshMethod · 0.65

Tested by

no test coverage detected