mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
This enables jump-to-definition and find-references in the VS Code extension, for C# source archives.
14 lines
342 B
Plaintext
14 lines
342 B
Plaintext
/**
|
|
* @name Jump-to-definition links
|
|
* @description Generates use-definition pairs that provide the data
|
|
* for jump-to-definition in the code viewer.
|
|
* @kind definitions
|
|
* @id cs/jump-to-definition
|
|
*/
|
|
|
|
import definitions
|
|
|
|
from Use use, Declaration def, string kind
|
|
where def = definitionOf(use, kind)
|
|
select use, def, kind
|