Skip to content

Commit

Permalink
Fixes signature help (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncordon authored Nov 4, 2024
1 parent 522bae6 commit b08f11e
Show file tree
Hide file tree
Showing 5 changed files with 4,649 additions and 2,677 deletions.
6 changes: 3 additions & 3 deletions packages/language-support/src/signatureHelp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ interface ParsedMethod {
export function toSignatureInformation(
curr: Neo4jFunction | Neo4jProcedure,
): SignatureInformation {
const { name, argumentDescription, description } = curr;
const { signature, argumentDescription, description } = curr;

return SignatureInformation.create(
name,
signature,
description,
...argumentDescription.map((arg) => ({
label: arg.name,
label: `${arg.name} :: ${arg.type}`,
documentation: arg.description,
})),
);
Expand Down
Loading

0 comments on commit b08f11e

Please sign in to comment.