From ee457c44c9cf139bc5563c8c98fad8f200f7cf6e Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 6 May 2026 22:20:38 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20progress=20indi?= =?UTF-8?q?cator=20and=20icon=20to=20call=20chain=20UX?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: AhmmedSamier <17784876+AhmmedSamier@users.noreply.github.com> --- vscode-extension/src/extension.ts | 10 +++++++++- vscode-extension/src/reference-code-lens.ts | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/vscode-extension/src/extension.ts b/vscode-extension/src/extension.ts index 37268d3f..1e9126e3 100644 --- a/vscode-extension/src/extension.ts +++ b/vscode-extension/src/extension.ts @@ -770,7 +770,15 @@ export async function activate(context: vscode.ExtensionContext) { targetPosition = activeEditor.selection.active; } - await showCallChain(targetUri, targetPosition, symbolName); + await vscode.window.withProgress( + { + location: vscode.ProgressLocation.Window, + title: `DeepLens: Building call chain for ${symbolName || 'symbol'}...`, + }, + async () => { + await showCallChain(targetUri, targetPosition, symbolName); + }, + ); }, ); diff --git a/vscode-extension/src/reference-code-lens.ts b/vscode-extension/src/reference-code-lens.ts index d5fb8d84..0e4fa33b 100644 --- a/vscode-extension/src/reference-code-lens.ts +++ b/vscode-extension/src/reference-code-lens.ts @@ -175,7 +175,7 @@ export class ReferenceCodeLensProvider implements vscode.CodeLensProvider { // 3. Call Chain Lens if (this.showCallChain && this.supportsCallChain(symbol.kind)) { const callChainLens = new vscode.CodeLens(range, { - title: 'visualize call chain', + title: '$(call-incoming) visualize call chain', command: 'deeplens.showCallChain', arguments: [document.uri, position, symbol.name], tooltip: `Visualize call hierarchy for ${symbol.name}`,