mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
This reverts commit 6bd0a17d3c.
This commit is contained in:
@@ -225,7 +225,7 @@ function parseSearchResults(document: vscode.TextDocument, token?: vscode.Cancel
|
||||
const metadataOffset = (indentation + _lineNumber + separator).length;
|
||||
const targetRange = new vscode.Range(Math.max(lineNumber - 3, 0), 0, lineNumber + 3, line.length);
|
||||
|
||||
const locations: Required<vscode.LocationLink>[] = [];
|
||||
let locations: Required<vscode.LocationLink>[] = [];
|
||||
|
||||
let lastEnd = metadataOffset;
|
||||
let offset = 0;
|
||||
@@ -256,7 +256,7 @@ function parseSearchResults(document: vscode.TextDocument, token?: vscode.Cancel
|
||||
}
|
||||
|
||||
// Allow line number, indentation, etc to take you to definition as well.
|
||||
const convenienceLocation: Required<vscode.LocationLink> = {
|
||||
let convenienceLocation: Required<vscode.LocationLink> = {
|
||||
targetRange,
|
||||
targetSelectionRange: new vscode.Range(lineNumber, 0, lineNumber, 1),
|
||||
targetUri: currentTarget,
|
||||
|
||||
Reference in New Issue
Block a user