MCPcopy Create free account
hub / github.com/Marus/cortex-debug / settingsChanged

Method settingsChanged

src/frontend/views/live-watch.ts:413–417  ·  view source on GitHub ↗
(e: vscode.ConfigurationChangeEvent)

Source from the content-addressed store, hash-verified

411
412 private currentRefreshRate = LiveWatchTreeProvider.defaultRefreshRate;
413 private settingsChanged(e: vscode.ConfigurationChangeEvent) {
414 if (e. affectsConfiguration('cortex-debug.liveWatchRefreshRate')) {
415 this.setRefreshRate();
416 }
417 }
418
419 private static defaultRefreshRate = 300;
420 private static minRefreshRate = 200; // Seems to be the magic number

Callers

nothing calls this directly

Calls 1

setRefreshRateMethod · 0.95

Tested by

no test coverage detected