gleam-lang/gleam

LSP code action to discard unused variable

Open

#4,950 建立於 2025年9月9日

在 GitHub 查看
 (9 留言) (0 反應) (0 負責人)Rust (21,417 star) (960 fork)batch import
help wanted

描述

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.

貢獻者指南