MCPcopy Create free account
hub / github.com/facebook/pyrefly / configurationTargetForUri

Function configurationTargetForUri

lsp/src/codeLens.ts:94–98  ·  view source on GitHub ↗
(uri: vscode.Uri)

Source from the content-addressed store, hash-verified

92}
93
94function configurationTargetForUri(uri: vscode.Uri): vscode.ConfigurationTarget {
95 return vscode.workspace.getWorkspaceFolder(uri) != null
96 ? vscode.ConfigurationTarget.WorkspaceFolder
97 : vscode.ConfigurationTarget.Workspace;
98}
99
100async function disableRunnableCodeLens(uri: vscode.Uri): Promise<void> {
101 await vscode.workspace

Callers 1

disableRunnableCodeLensFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected