gleam-lang/gleam

LSP code action to discard unused variable

已關閉

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

 (10 則留言) (0 個反應) (0 位負責人)Rust (960 個分叉)batch import
help wanted

倉庫指標

星標
 (21,417 顆星)
PR 合併指標
 (平均合併 10天 19小時) (30 天內合併 69 個 PR)

描述

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.

貢獻者指南