(progress: number)
| 292 | } |
| 293 | |
| 294 | export function setIntelliSenseProgress(progress: number): void { |
| 295 | if (extensionContext && getIntelliSenseProgress() < progress) { |
| 296 | void extensionContext.globalState.update(intelliSenseProgressStr, progress); |
| 297 | const telemetryProperties: Record<string, string> = {}; |
| 298 | let progressName: string | undefined; |
| 299 | switch (progress) { |
| 300 | case progressIntelliSenseNoSquiggles: progressName = "IntelliSense no squiggles"; break; |
| 301 | } |
| 302 | if (progressName) { |
| 303 | telemetryProperties.progress = progressName; |
| 304 | } |
| 305 | Telemetry.logDebuggerEvent("progress", telemetryProperties); |
| 306 | } |
| 307 | } |
| 308 | |
| 309 | export function getProgressDebuggerStarted(): number { return progressDebuggerStarted; } // Debugger initialization was started. |
| 310 | export function getProgressDebuggerSuccess(): number { return progressDebuggerSuccess; } // Debugger was successfully initialized. |
nothing calls this directly
no test coverage detected