const range = new Range(i + 1, startOffset + 1, i + 1, endOffset + 1);
if (match.groups?.['filePath']) {
fileReferences.push({ content: match.groups?.['filePath'], range, isMarkdownLink: false });
promptFileParser.ts
} else if (match.groups?.['toolName']) {
variableReferences.push({ name: match.groups?.['toolName'], range, offset: lineStartOffset + match.index, fullLength: fullMatch.length });