Skip to content

Commit 7443b35

Browse files
Jump to location when clicking on usage
1 parent 16d5f0f commit 7443b35

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

extensions/ql-vscode/src/data-extensions-editor/model-details/model-details-data-provider.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ export class ModelDetailsDataProvider
4343
return {
4444
label: item.label,
4545
collapsibleState: TreeItemCollapsibleState.None,
46+
command: {
47+
title: "Show usage",
48+
command: "codeQLDataExtensions.jumpToUsageLocation",
49+
arguments: [item, this.databaseItem],
50+
},
4651
};
4752
}
4853
}

0 commit comments

Comments
 (0)