(document: vs.TextDocument)
| 787 | } |
| 788 | |
| 789 | export async function getCodeLens(document: vs.TextDocument): Promise<vs.CodeLens[]> { |
| 790 | const fileCodeLens = await vs.commands.executeCommand<vs.CodeLens[]>("vscode.executeCodeLensProvider", document.uri, 500); |
| 791 | return fileCodeLens || []; |
| 792 | } |
| 793 | |
| 794 | export async function getDefinition(position: vs.Position): Promise<vs.Location | vs.DefinitionLink> { |
| 795 | const defs = await getDefinitions(position); |
no outgoing calls