Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion vscode-extension/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
);
},
);

Expand Down
2 changes: 1 addition & 1 deletion vscode-extension/src/reference-code-lens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
Expand Down
Loading