MCPcopy Index your code
hub / github.com/coder/mux / getConnectionModeSetting

Function getConnectionModeSetting

vscode/src/api/discovery.ts:33–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33export function getConnectionModeSetting(): ConnectionMode {
34 const config = vscode.workspace.getConfiguration("mux");
35 const value = config.get<unknown>("connectionMode");
36
37 if (value === "auto" || value === "server-only" || value === "file-only") {
38 return value;
39 }
40
41 return "auto";
42}
43
44export async function discoverServerConfig(
45 context: vscode.ExtensionContext

Callers 3

getWorkspacesForCommandFunction · 0.90
getWorkspacesForSidebarFunction · 0.90
activateFunction · 0.90

Calls 1

getMethod · 0.65

Tested by

no test coverage detected