We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f929432 commit 6702198Copy full SHA for 6702198
src/xsltHoverProvider.ts
@@ -16,9 +16,10 @@ export class XSLTHoverProvider implements HoverProvider {
16
17
provideHover(document: TextDocument, position: Position, token: CancellationToken): ProviderResult<Hover> {
18
const line = document.lineAt(position.line);
19
- const fnName = this.getFunctionName(line.text, position.character);
+ let fnName = this.getFunctionName(line.text, position.character);
20
21
if (fnName) {
22
+ fnName = fnName.startsWith('fn:')? fnName.substring(3) : fnName;
23
const trimmedFnName = fnName.trimRight();
24
const matchingData = this.functionData.find((item) => {
25
return item.name === trimmedFnName;
0 commit comments