Skip to content

Variable names are missing in hover description for local predicates #35

@EsGeh

Description

@EsGeh

When I hover over a predicate that has a comment attached like this...

%! output_args( +Rules:list, +State:list, -Ctxt, -Statements ).
output_args(
	Rules,
	State,
	Ctxt,
	Statements
) :- true.

...this is what is printed as description when hovering over the predicate:

output_args(+list,+list,-any,-any) is unknown.

This isn't bad, but it'd be nice if it mentioned the name of the variables (Rules, State, Ctxt, Statements), in order to be able to refer to them in case of a more verbose description.
What I'd expect is s.t. like:

output_args(+Rules:list,+State:list,-Ctxt:any,-Statements:any) is unknown.

Any chance of getting this implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions