Skip to content

Suppress inlay hints for discarded/dummy variables? #2610

@AlexWaygood

Description

@AlexWaygood

Here's a screenshot of the inlay hints for docstring-adder:

Image

The _: If inlay hint looks kinda silly, I think? There are no references to _ later on in the function, and I've named it _ to explicitly indicate that it's an unused variable that I don't care about. So the type of that variable is uninteresting to me; the inlay hint for that variable feels like it just adds noise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContributions especially welcomeserverRelated to the LSP server

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions