Skip to content

Commit 23da4ad

Browse files
authored
Add Func suffix to Copy Invocation result for Queries (#1695)
1 parent 93e898d commit 23da4ad

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/providers/ObjectScriptCodeLensProvider.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,11 @@ export class ObjectScriptCodeLensProvider implements vscode.CodeLensProvider {
357357
copyToClipboard &&
358358
(type == "classmethod" || (type == "query" && displayName[0] != '"'))
359359
) {
360-
result.push(this.addCopyToClipboard(symbolLine, [`##class(${className}).${displayName}()`]));
360+
result.push(
361+
this.addCopyToClipboard(symbolLine, [
362+
`##class(${className}).${displayName}${type == "query" ? "Func" : ""}()`,
363+
])
364+
);
361365
}
362366
}
363367
}

0 commit comments

Comments
 (0)