MCPcopy Index your code
hub / github.com/REditorSupport/vscode-R / setContext

Function setContext

src/util.ts:433–437  ·  view source on GitHub ↗
(key: string, value: any)

Source from the content-addressed store, hash-verified

431
432// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
433export async function setContext(key: string, value: any): Promise<void> {
434 await vscode.commands.executeCommand(
435 'setContext', key, value
436 );
437}
438
439// Helper function used to convert raw text files to html
440export function escapeHtml(source: string): string {

Callers 7

updateRequestFunction · 0.90
cleanupSessionFunction · 0.90
setContextValuesMethod · 0.90
enableAutoRefreshMethod · 0.90
disableAutoRefreshMethod · 0.90
openPreviewMethod · 0.90
setContextValuesMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected