Skip to content

LSP code action to discard unused variable #4950

@francishamel

Description

@francishamel

Hi 👋 I'm not sure if I'm using the right term but I think it could be useful to add a code action that appends _ to a label in a pattern match to ignore it. There's already a hint for this case but it would be neat to quickly fix the issue via a code action. I added a screenshot to illustrate what I mean.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContributions encouraged

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions