gleam-lang/gleam

"Rename type parameter" LS action

已关闭

#5,762 创建于 2026年5月28日

 (1 条评论) (1 个反应) (0 位负责人)Rust (960 个派生)batch import
help wanted

仓库指标

星标
 (21,417 个星标)
PR 合并指标
 (平均合并 10天 19小时) (30 天内合并 69 个 PR)

描述

Given a function like:

fn resolve_player_id(player_view: PlayerView(player_id), player: PlayerMatcher) -> player_id {
                                                                                       ^ cursor here

Invoking such action would prompt for a new name and rename all ocurrences of the parameter.

This could be implemented for type definitions too.

贡献者指南