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}`,