Skip to content

Include return statements in autocomplete signature #2927

Open
@carlthome

Description

@carlthome

When pressing shift-tab you get a very neat autocomplete box with a function's arguments. Would it be possible to also include return statements?

image

In the case of multiple returns, I imagine all branches would be listed. As returned objects don't have names in the outer scope, I imagine just taking the last local name if it exists (tricky) or the type() at the return statement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions